
CODE: [Copy to clipboard]@echo off
>B.bat echo mode con cols=18 lines=6
>>B.bat echo pause
start "" B.bat
:xxx
Wmic Process Where "Name='cmd.exe'" Get CommandLine>tmp.txt
find /i "B.bat">nul tmp.txt
if %errorlevel%==0 (echo 没关闭) else echo 已关闭
ping -n 3 127.0.1>nul
goto xxx
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |