Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
January 15, 2003
When you use the CD command to change the current folder to a UNC path, you receive:
CMD does not support UNC paths as current directories.
Instead of mapping a drive, you can use the following:
pushd \ComputerNameShareName
REM Current folder is now the UNC path. Place additional commands here.
popd
REM Current folder is as it was prior to the pushd command.
NOTE: See Windows 2000 command help.
NOTE: See Windows XP command help.
You May Also Like