xxx701 当前离线
列兵
set year=%date:~0,4% set month=%date:~5,2% set day=%date:~8,2% set tm1=%year%%month%%day% set tm2=20100101复制代码
set year=%date:~0,4% set month=%date:~5,2% set day=%date:~8,2% set tm1=%year%%month%%day% set tm2=20100109 if %tm1%==%tm2% goto ct md c:\22 PAUSE复制代码
TOP
set tm1=%date:~0,10% if %tm1%==2010-01-11 goto ct md c:\22 PAUSE :ct md c:\ct复制代码
set year=%date:~0,4% set month=%date:~5,2% set day=%date:~8,2% set tm1=%year%%month%%day% set tm2=20100109 if %tm1%==%tm2% goto ct md c:\22 PAUSE :ct set ss=%time:~0,2% set tm3=%ss% set tm4=10 md c:\ct pause ECHO JJJ PAUSE复制代码