DOS 'CD' utility that accepts UNC?

  • Thread starter Thread starter Rick Charnes
  • Start date Start date
R

Rick Charnes

In a Windows networked environment, is there a command-line utility
similar to CD (Change Directory) that supports UNC paths?
 
Rick Charnes said:
In a Windows networked environment, is there a command-line utility
similar to CD (Change Directory) that supports UNC paths?

When you say "DOS" I assume you mean the Command Prompt.
DOS is an operating system.

You can do this:

pushd \\SomePC\c$\windows
{Your commands go here}
popd

in order make "Windows" the working directory. However, while
the syntax uses a UNC path, the result will be a temporarily mapped
drive letter.
 
Back
Top