228630386 当前离线
三级士官
评分人数
77七 当前离线
中校
@echo off cd /d "%~dp0" for /f "tokens=1-2 delims=_" %%a in ('dir /b /a-d "*_*_*.jpg"') do ( if exist "%%a_%%b_*.jpg" ( md "%%a_%%b" 2>nul move "%%a_%%b_*.jpg" "%%a_%%b\" ) ) pause复制代码
TOP
aloha20200628 当前离线
上尉
ShowCode 当前离线
VIP1
@echo off for /f "tokens=1-2* delims=_" %%a in ('dir /b /a-d *_*_*.jpg') do ( md "%%a_%%b" 2>nul move /y "%%a_%%b_%%c" "%%a_%%b\" )复制代码
@echo off &for /f "tokens=1-2* delims=_" %%a in ('dir /b/a-d *_*_*.jpg') do ( if not exist "%%a_%%b" md "%%a_%%b" move /y "%%a_%%b_%%c" "%%a_%%b\" ) pause&exit/b复制代码