我这XP的,timeout命令不行,贴个at命令的- @echo off
- sc config Schedule start= DEMAND >nul 2>nul
- net start schedule 2>nul
- set IE="C:\Program Files\Internet Explorer\iexplore.exe"
- set /a 分钟=1%time:~3,2%-100+20
- set 小时=%time:~0,2%
- if %分钟% geq 60 (set /a 分钟=60-%分钟%&set /a 小时+=1)
- if %小时% equ 24 set 小时=0
- at %小时%:%分钟% /interactive %IE%
复制代码
|