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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top