@echo off & setlocal enableextensions echo WScript.Sleep 1000 > %temp%\tmp$$$.vbs set /a i = 10 :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