The solution is to use pushd instead of cd to change the current directory to a share accessed via a UNC path (e.g.: >pushd \\myserver\myshare).
Use popd when done.
More info on the Microsoft Web site.
The solution is to use pushd instead of cd to change the current directory to a share accessed via a UNC path (e.g.: >pushd \\myserver\myshare).
Use popd when done.
More info on the Microsoft Web site.
Thanks you! Simplest answer to my question! That is all I needed.
Thanks so much. That worked beautifully! It replaced some the first part with Q:. I wonder if I had that assigned already if if it found the first available and mapped it.
No need to tell me, i will research it.
Thanks,
excellent answer
Thanks!
But now I get:
“A device attached to the system is not functioning.” It works in explorer… hmm…
Nice! Glad to see that someone knows what they are doing. Give yourself a gold star and a pat on the back.
Cheers,
Bonus
Awesome!!! I was searching for this from so many days
great, thanks a lot!!
THanks for the quick fix to my problem!
Wonderful, just wonderful! I was struggling for about an hour to accomplish the same thing but using the ‘cd’ command instead. But you made things much easier.
Thanks. Exactly what I needed & was the 1st thing that popped up off google.
well done..perfect answer
Cool…solved my issue. Thanks!
Thanks, That resolved my issue
Thanks Alot
Cheers!
You can also use commandline :
Explorer \\servername\foldername\foldername
this won’t map the drive though..
Cheers,
Dilwar
I love it… I’ve always seen pushd/popd but never saw the benefit of it… this is an excellent use case!
Brilliant! Many Thanks
Weee…settled my issue within few mins!!
thanks mate
thank you.. really good answer… i was been searching for this from so many days..
Thank you! Exactly what I was looking for. My setup was I am using VMWare to use Windows 7 on my Mac and was looking for a way to change directories into my Mac’s home directory, which VMware made available to me as an alias on my Desktop… and which browses fine in Windows Explorer, but couldn’t be “cd’ed to” in cmd.exe.
That worked like a charm!!! Thanks!
Great solution to solve my long – lasted problem to send a Fortran job with many Call System to a HPC system – Thanks!
Thanks a ton !!! was desperate for a solution !!!
!!!!!!!!!!! HOORAY !!!!!!!!!!!!!!! THANKS!!!!!
Fantastic, this has bothered me for a long time.
cool thanks
You just saved my life! Thanks!
Superbe ! Ca vient de me rendre un trèèès grand service !
Beautifull ! It’s just help me such a great way !
MS-DOS: still loving you
)
You can use cd \\serverpath in powershell though.
All we need! Thanks.
neat! it works like a charm!
This was most helpful. Thank you.
Works great, cheers.
Works wonderfully , great command !!
thanks so much. most helpful
Beautiful.
Pingback: Handling “path too long” on Windows | An Arrogant Nice Guy
Hi there! Do you know if they make any plugins to protect against hackers?
I’m kinda paranoid about losing everything I’ve worked hard on.
Any suggestions?