I've got a great big script that is entirely reliant on PUSHD. However suddenly when I type pushd \\server1\dir1
I'm getting:
C:\Documents and Settings\userNameHere>pushd \\server1\dir1
' '
CMD does not support UNC paths as current directories.
OK, I'm aware that CMD doesn't support UNC paths. That's why I'm using PUSHD. When I search for this I find lots of posts that say "When you encounter this message about UNC paths, you should use PUSHD!". Well crap, I'm encountering that message and using PUSHD.
I tried using CMD /E:ON
because PUSHD is only active when Command Extensions are enabled, apparently. Same result.
I looked to see if somehow I was out of drive letters (since PUSHD starts at Z: and goes backward to find a drive letter). Nope.
I tried starting my cmd at the c:\ dir (cd c:\
then pushd \\server1\dir1
).
I confirmed that the drive is there and I have access to it, via Windows Explorer.
And now I'm out of ideas.
Pushd reference: Link