I'm unsure if there is a solid method to automate these steps with a batch file*
*(the for this batch file would be a)

in this folder I run cmd.exe with Shift + Open command window here

b) and execute

cmd /k cd <path to bat2.bat>
bat2.bat --<run command for it>
@Echo off
cmd.exe /k "cd <setpathhere> && bat2.bat --<run command for it>"
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.