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

后端 未结 3 1682
时光取名叫无心
时光取名叫无心 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:05

    The /w parameter makes START wait until the process it launches has exited. Remove it:

    start "" /B /d ...
    

    This will let your batch file continue running and exit immediately.

提交回复
热议问题