批处理 结束麦咖啡进程的代码
发布时间:2016-12-28 来源:查字典编辑
摘要:@ECHOOFF@@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大牛写的一个小工具。