问题
I have a bat file that starts an .exe file, however, the cmd.exe does not close after the command is executed.
start /d "C:\projects" myProgram.exe
The program starts and behaves as it should, but the cmd wont close. What could be the cause of this?
回答1:
Try using EXIT in your script link to more info
For example:
EXIT
来源:https://stackoverflow.com/questions/26734286/cmd-exe-doesnt-close-after-starting-exe