In shell-scripting if I need to run a command from a directory I can us a subshell to ensure I return to the original context:
(cd temporary/new/directory ; command) # now I am still in original directory
Can this be done in Windows batch-files (or cmd-files)
Doing the same in batch-files leaves me in the new directory.
I can do:
pushd temporary\new\directory && command && popd
But the popd is dependent on the success of