tigerpower 当前离线
四级士官
@echo off setlocal enabledelayedexpansion for /l %%I in (65,1,90) do ( cmd /c exit %%I pushd !=exitcodeascii!:\ 2>NUL && for /f "delims=- tokens=1,2*" %%i in ('dir /a-d /b') do (mkdir "%%j" & move "%%i-%%j-%%k" "%%j") )复制代码
TOP
511182890 当前离线
二级士官
pcl_test 当前在线
荣誉版主
@echo off setlocal enabledelayedexpansion for /f "tokens=1,2* delims=-" %%i in ('dir /a-d /b *.dxf') do ( set "n=%%j" md "!n:~,6!\" 2>nul move "%%i-%%j-%%k" "!n:~,6!\" ) pause复制代码