|
在倒计时的时候 按任意键 执行另外个命令,
呵呵,,各位高手帮帮忙........3Q
-------------------------------------------------------------------
@echo off & setlocal enableextensions
echo WScript.Sleep 1000 > %temp%\tmp$$$.vbs
set /a i = 5
:Timeout
if %i% == 0 goto Next
setlocal
set /a b = %b%
set /a i = %i% - 1
cls
echo 5秒后执行命令
cscript //nologo %temp%\tmp$$$.vbs
goto Timeout
goto End
:Next
cls & echo.
for %%f in (%temp%\tmp$$$.vbs) do del %%f
start edit boot.ini
exit |
|