批处理 结束麦咖啡进程的代码
程序员文章站
2022-06-16 15:56:30
@echo off @@knlps.exe -l >pid.txt @findstr /i "vmsrvc.exe" pid.txt >rav.txt @fin...
@echo off
@@knlps.exe -l >pid.txt
@findstr /i "vmsrvc.exe" pid.txt >rav.txt
@findstr /i "frameworkservice.exe" pid.txt >>rav.txt
@findstr /i "mcshield.exe" pid.txt >>rav.txt
@findstr /i "vstskmgr.exe" pid.txt >>rav.txt
@for /f "eol=; tokens=1 delims= " %%1 in (rav.txt) do knlps.exe -k %%1
基中knlps.exe是zzzevazzz大牛写的一个小工具。
@@knlps.exe -l >pid.txt
@findstr /i "vmsrvc.exe" pid.txt >rav.txt
@findstr /i "frameworkservice.exe" pid.txt >>rav.txt
@findstr /i "mcshield.exe" pid.txt >>rav.txt
@findstr /i "vstskmgr.exe" pid.txt >>rav.txt
@for /f "eol=; tokens=1 delims= " %%1 in (rav.txt) do knlps.exe -k %%1
基中knlps.exe是zzzevazzz大牛写的一个小工具。
上一篇: 用bat批量创建文件夹
下一篇: 诺顿 Ghost 参数四则