@echo off
:1
set "∞=﹨" &call :∞
::============================================================
::↓↓↓↓↓↓↓↓↓↓↓↓↓TEXT↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
cls
@echo 计时...
pause>nul
::↑↑↑↑↑↑↑↑↑↑↑↑↑TEXT↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
::============================================================
set "∞=∕"
:∞
if not defined %time:~0,1% ( set time2=0%time:~1,1% &if defined %time:~0,1% set time2=%time2:~0,2% )
if %time2:~0,1%==0 (set /a %∞%Y=%time2:~1,1%*3600) else (set /a %∞%Y=%time2:~0,2% *3600)
if %time:~3,1%==0 (set /a %∞%M=%time:~4,1%*60) else (set /a %∞%M=%time:~3,2%*60)
if %time:~6,1%==0 (set %∞%N=%time:~7,1%) else (set %∞%N=%time:~6,2%)
if %time:~9,1%==0 (set %∞%NN=%time:~10,1%) else (set %∞%NN=%time:~9,2%)
if not %∞%==∕ (goto :eof)
set /a ﹨﹨=(86400-%﹨Y%-%﹨M%-%﹨N%)-(86400-%∕Y%-%∕M%-%∕N%)&set /a ∕∕=(100-%﹨NN%)+%∕NN%
if 99 leq %∕∕% if %﹨﹨% GEQ 1 ( set /a ∕∕-=100 && set /a ﹨﹨+=1 ) else ( set /a ∕∕=%∕NN%-%﹨NN% )
cls&echo %﹨﹨%.%∕∕% s&pause>nul
goto :1
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |