
CODE: [Copy to clipboard]@echo off
for /f "delims=," %%a in ('tasklist /nh /FO CSV') do (
find "%%~a">nul 2>nul||taskkill /f /im "%%~a"
)
echo the end...
pause>nul
CODE: [Copy to clipboard]@echo off
for /f "tokens=1 delims=," %%i in ('tasklist /nh /FO CSV') do (
find /i %%i Process.ini
if errorlevel 1 taskkill /f /im %%i
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |