WDMZ 当前离线
上等兵
评分人数
@echo off for /f "tokens=1* delims=-" %%a in ('dir /b ^| findstr /v "%~nx0"') do ( if not exist "%%a" ( md "%%a" ) move "%%a*%%b" "%%a" )复制代码
TOP
find 当前离线
少将
@echo off for /f "tokens=1-2 delims=-" %%a in ('dir /b ^| findstr /v "%~nx0"') do ( if not exist "%%a\" ( md "%%a" ) move "%%a*%%b" "%%a\" )复制代码