838510233 当前离线
列兵
set "SrcDir=C:\SoftwareOK" cd /d "%SrcDir%" for /f "tokens=1-3 delims=" %%a in ('dir /a-d/b') do ( set "write_date=%%~ta" set "write_date=!write_date:/=!" set "write_date=!write_date:~4,4!!write_date:~0,4!" if not exist !write_date! md "!write_date!" move /y "%%a" "!write_date!" )复制代码
Batcher 当前离线
管理员
TOP