
CODE: [Copy to clipboard]@echo off
for /f "tokens=1 delims= " %%a in ('tasklist ^| findstr "clientofwatcher.exe"') do @set flag=%%a
if defined flag (
echo yes
) else (
echo no
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |