mike says things sometimes

omg where am I I AM NOT GOOD WITH COMPUTERS

adhoc network drive mapping

without comments

As I’m working to consolidate the neat tips I find for a future wiki at work, here’s another neat one:

There is a feature in Windows XP and Vista that not many people know which can save you endless hours and it’s called pushd.

From the command-line if you type:

pushd \\someserver\someshare\somedirectory

Then Windows will automatically map a temporary drive to \\someserver\someshare, change to that drive, then change directory to somedirectory.

When you’re finished you can then type:

popd

Then Windows will change back to your original working directory and remove the mapped drive.

Here is an example:

C:\Temp\> pushd \\someserver\someshare\somedirectory
X:\somedirectory\> del somefile.txt
X:\somedirectory\> popd
C:\Temp\ >

Found at:

http://blog.bartholomew.id.au/2007/12/19/adhoc-mapping-of-network-drives

Written by Mike

March 24th, 2008 at 1:41 pm

Posted in computers

Tagged with , ,

Leave a Reply