RAV.txt@FINDSTR/i"FrameworkService.exe"PID.txt>>RAV.txt@FINDSTR/i"Mcshield ; 更新日期:2024/11/16 饿虎岗资源网" />

当前位置:首页 >> 脚本专栏

批处理 结束麦咖啡进程的代码

@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大牛写的一个小工具。