Why won't the CMD window close after Batch file execution?

后端 未结 3 1612
时光取名叫无心
时光取名叫无心 2021-01-25 17:26

I am trying to execute a file by placing the appropriate command into a batch file. After completing the file execution the command window is not closing automatically. I tried

3条回答
  •  悲&欢浪女
    2021-01-25 18:13

    You can close the console at the end

    For example:

       start /b taskkill /F /IM bank01.exe
       ..
       ..
       taskkill /F /IM cmd.exe
    

提交回复
热议问题