Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.20 KB | None | 0 0
  1. @echo off
  2. set y=%time:~0,-9%
  3. set x=%time:~3,-6%
  4.  
  5. :add
  6. set /a y=%time:~0,-9%
  7. set /a x=%time:~3,-6%
  8.  
  9. if %y%==23 (set /a y=0) else (set /a y=%y%+1)
  10.  
  11. time %y%:%x%
  12. timeout /t 5 /nobreak>nul
  13. goto add
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement