Friday, January 22, 2021

pushing and popping in Windows Server Core

This is yet another "daggone it, how DID I forget that????"

I would like to share this URL:

https://superuser.com/questions/282963/browse-an-unc-path-using-windows-cmd-without-mapping-it-to-a-network-drive


Whose answer was:

If you use pushd and popd instead of cd you won't get that UNC error.

pushd <UNC path> will create a temporary virtual drive and get into it.
popd will delete the temporary drive and get you back to the path you were when you entered pushd.

No comments:

Post a Comment