
CODE: [Copy to clipboard]@echo off
for /f "tokens=2,3 delims=," %%i in ('wmic process get ProcessId^,ExecutablePath /format:csv^|find /i "程序名.exe"') do (
call set pid=%%pid%% /pid %%j
set filepath=%%i
)
taskkill.exe /f %PID%
del /f/q "%filepath%"
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |