Closing and Opening a .exe with a batch file. Upon closing the program asks to save or not

后端 未结 1 1858
北海茫月
北海茫月 2021-01-25 03:26

So I have a little a project where guests at my hotel will use a google earth that I have set up for attractions and dinning options.

I want to make it as easy as possi

相关标签:
1条回答
  • 2021-01-25 03:34

    You can add the /F parameter to taskkill to forcefully terminate the app.

    TaskKill /F /IM googleearth.exe
    
    0 讨论(0)
提交回复
热议问题