DOS中判断进程是否存在的方法
检测进程是否存在,并做出预定动作。tasklist /nh>d:\tddown~1\1.txtfind /i "QQ.exe" d:\tddown~1\1.txtif ERRORLEVEL 1 (echo qq.exe不存在) else (echo qq.ex存在)------------第二
检测进程是否存在,并做出预定动作。tasklist /nh>d:\tddown~1\1.txtfind /i "QQ.exe" d:\tddown~1\1.txtif ERRORLEVEL 1 (echo qq.exe不存在) else (echo qq.ex存在)------------第二