Let\'s say I have these commands:
Prog1.exe D:\\SomeDir\\Prog2.exe Prog3.exe
Now, say for the second line, I would like the working directo
You could use the pushd/popd commands (help with pushd /?)
pushd /?
Prog1.exe Pushd D:\SomeDir Prog2.exe popd Prog3.exe