[转载]Windows强制停止进程
2022-3-21 15:35
阅读:1723
https://zhidao.baidu.com/question/196468169.html
上面的例子有点问题,
那个 /f 需要放到进程名字的后面
@echo off
tasklist | find /I "qq.exe" && goto delPID || echo 该进程没有运行
:delPID
taskkill /IM "qq.exe" /f
转载本文请联系原作者获取授权,同时请注明本文来自姚程科学网博客。
链接地址:https://wap.sciencenet.cn/blog-531760-1330424.html?mobile=1
收藏
当前推荐数:0
推荐到博客首页
网友评论0 条评论