@echo off & setlocal enableextensions echo WScript.Sleep 1000 > %temp%/tmp$$$.vbs set /a i = 20 :Timeout if %i% == 0 goto Next setlocal set /a i = %i% - 1 cls echo # [%i%]秒后程序开始运行 # cscript //nologo %temp%/tmp$$$.vbs goto Timeout goto End :Next cls & echo. for %%f in (%temp%/tmp$$$.vbs) do del %%f start cmd.exe exit
[BAT]批处理倒计时执行程序脚本
最新推荐文章于 2024-09-16 02:00:03 发布