cmd.exe doesn't close after starting exe

前提是你 提交于 2019-12-11 04:48:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!