如何使用批处理文件终止进程 [英] How to kill a process with batch file

查看:152
本文介绍了如何使用批处理文件终止进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个批处理文件,其中我想编写一些杀死名为AMPPSS.exe的特定应用程序的代码并等待该进程死亡并且在应用程序被终止后创建一个文件名为DONE。



我是使用批处理文件的新手。所以,请尽可能帮助我



提前致谢

I have a batch file in which i want to write some code which kills a particular app named "AMPPSS.exe" and wait until the process is dead and after the application is killed creates a file named "DONE".

I am new at using batch file. so, please help me if possible

Thanks in advance

推荐答案

输入 taskkill /?在命令窗口中查看如何操作。
Type taskkill /? in a command window to see how to do it.


这篇关于如何使用批处理文件终止进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆