siamtir 当前离线
列兵
@echo off setlocal enabledelayedexpansion title 文件分类 @Layne mode con cols=45 lines=15 color 2f for /f "tokens=1,2 delims=/" %%i in (a.txt) do ( md "%%i" move "*%%j*" "%%i" ) pause复制代码
pcl_test 当前离线
荣誉版主
@echo off set "Ymd=%date:~,4%年%date:~5,2%月%date:~8,2%日" for /f "tokens=1,2 delims=/" %%i in ('more +7 %0') do ( md "%Ymd%%%i" 2>nul for /f "delims=" %%a in ('dir /b *%%j* 2^>nul') do move "%%a" "%Ymd%%%i\" ) pause&exit /b A/钥匙扣 A/手机链 A/魔方 A/车挂 B/哈罗那 B/哈罗娜 B/梦幻 B/大韩复制代码
TOP
set "Ymd=%date:~,4%年%date:~5,2%月%date:~8,2%日" for /f "tokens=1,2 delims=/" %%i in (a.txt) do ( md "%Ymd%%%i" 2>nul for /f "delims=" %%a in ('dir /b *%%j* 2^>nul') do move "%%a" "%Ymd%%%i\" )复制代码
@echo off for /f "tokens=1,2 delims=/" %%i in (a.txt) do ( md "%%i" 2>nul for /f "delims=" %%a in ('dir /b *%%j* 2^>nul') do move "%%a" "%%i\" ) pause复制代码
评分人数