复制代码
- @echo off
- :: code by 随风 @bbs.bathome.net 2007/12/13
- set n=500
- for /f "tokens=1,2 delims=:" %%a in ("%time%") do (
- set /a s=100%%a%%100,f=100%%b%%100+n
- )
- set /a y=f/60,h=f%%60,s=(s+y)%%24
- set h=00%h%
- set ok=%s%:%h:~-2%
- echo %ok%
- pause
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |