Join Nostr
2023-09-04 08:04:33 UTC

↯ Klaatu - Some Brave Apollo ↯ on Nostr: I knew in #Windows shell ya can't #CD to a network share not mounted to a drive ...

I knew in #Windows shell ya can't #CD to a network share not mounted to a drive letter. (already logged in to box so no pswd issues)
You get a weird warning instead.

Yeah I know workarounds but I never heard that the #PUSHD command will automatically map the share to an unused drive letter for you, then CD you to it and #POPD unmaps it when it CD's back.

C:\somedir\

PUSHD \\SERVER1\SHARE1

Z:\

POPD

C:\somedir\

random letter picked near alphabet's end WXYZ 4 my tests