Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if "%1"=="" goto :error
- if "%1"=="/?" goto :help
- if %1 LSS 0 goto :error
- set checking=%time::0=:%
- set checking=%time:,0=,%
- for /f "delims=:, tokens=1-4" %%i in ("%checking%") do set /a t=%%i*360000+%%j*6000+%%k*100+%1*100+%%l
- :While
- set checking=%time::0=:%
- set checking=%time:,0=,%
- for /f "delims=:, tokens=1-4" %%i in ("%checking%") do set /a tm=%%i*360000+%%j*6000+%%k*100+%%l
- if %tm% GEQ %t% ( (echo END
- ) && goto :eof
- ) else goto :While
- :error
- echo Write positive argument
- echo For help write /?
- goto :eof
- :help
- 'Some information about this programm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement