复制代码
- @echo off
- set /p var=Y/N:
- if "%var%"=="Y" call :a
- exit
- :a
- start *.exe
- sleep ???
- :echo Wscript.sleep "???">temp.vbs&a.vbs&del a.vbs
- rem ???是秒数,sleep是外部文件。
- taskkill *.exe
- ping 127.^1>nul
- goto a
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |