批处理 结束麦咖啡进程的代码
@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大牛写的一个小工具。