SaveText.Ru

Без имени
  1. @echo off
  2. SetLocal EnableExtensions
  3.  
  4. For /F "tokens=1,2 delims=:" %%a in ('time /T') do set HH=%%a& set MM=%%b
  5. set /a HH-=1
  6. if %HH%==-1 set HH=23
  7. time %HH%:%MM%

Share with your friends:

Распечатать