kid_en 当前离线
列兵
@echo off & setlocal enabledelayedexpansion for %%s in (*.dwg ) do (md xx move %%s xx\%%s cd xx cd.. ren "xx" %%s ) pause复制代码
评分人数
GNU 当前离线
上尉
TOP
@echo off for /f "delims=" %%i in ('dir /ad /b') do ( move "%%i-*.*" "%%i\" move "%%i.*.*" "%%i\" ) pause复制代码
Nsqs 当前离线
少尉
@echo off for /f "delims=" %%i in ('dir /ad/b')do ( copy "%%i-*.*" "%%i\*" copy "%%i.*.*" "%%i\*" ) del *.jpg *.png pause复制代码
@echo off for /f "tokens=1,2 delims= " %%1 in ('dir /ad/b')do ( copy "%%1-*.*" "%%1 %%2\*" ) rem del *.jpg *.png复制代码
@echo off for /f %%a in ('dir /o-n /b /ad') do ( move "%%a*.jpg" "%%a\" move "%%a*.png" "%%a\" ) pause复制代码
@echo off for /f %%a in ('dir /o-n /b /ad') do ( move "%%a*.jpg" "%%a\" || move "%%a*.png" "%%a\" ) pause复制代码
@echo off setlocal enabledelayedexpansion for %%s in (*.dwg ) do ( md "xx" move "%%s" "xx\" ren "xx" "%%s" ) pause复制代码