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
@darrenoneill
Was forced to update my #HomeAssistant #backup script as you can't use #pushd and #popd commands with #cron jobs. Also, the #backup archives now have human-readable dates instead of timestamps ) And #docker #compose now has a path to #yaml.
https://sometechy.website/smart-home/automatic-backups-of-home-assistant-in-docker-rsync-and-rclone/
#homeassistant #backup #pushd #popd #cron #docker #compose #yaml
How To Use Pushd, Popd And Dirs Commands For Faster CLI Navigation #Pushd #Popd #Dirs #DirectoryNavigation #Linux #Linuxcommands #Linuxbasics #Linuxtips
https://ostechnix.com/use-pushd-popd-dirs-commands-faster-cli-navigation/
#linuxtips #LinuxBasics #linuxcommands #Linux #DirectoryNavigation #dirs #popd #pushd
How To Use Pushd, Popd And Dirs Commands For Faster CLI Navigation In #Linux #pushd #popd #dirs #LinuxCommands #Linuxhowto #sysadmin#CLI
https://www.ostechnix.com/use-pushd-popd-dirs-commands-faster-cli-navigation/
#sysadmin #linuxhowto #linuxcommands #dirs #popd #pushd #Linux