Get access to an UNC at a command prompt (Windows)

pushd \\servername\sharename

The pushd command creates a temporary drive letter that points to the network share, and then changes the command prompt to that drive letter. You can use the pushd command several times in one session. This creates a list (or "stack") of folders. You can type pushd with no path name to view the current state of the stack.

The popd command returns you to the previous folder, and removes the temporary drive letter that was created by the pushd command.

No comments:

Recent Posts