Friday, January 23, 2009

CMD does not support UNC paths as current directories

In a command console, here is how you change directories (cd) to an unmapped network path.

Use pushd instead of cd to change the current directory to a share accessed via a UNC path (e.g.: >pushd \\myserver\myshare).

When done, use popd to get back to prompt.

No comments: