摘要:
echo onFOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%BFOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%BFOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%BFOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%BSET date=%yyyy%-%mm%-%d 阅读全文