cmd11011 当前离线
列兵
评分人数
@echo off&setlocal enabledelayedexpansion set n1=200 set/a m=1000,n=0 for /f "delims=" %%i in ('dir/b/a-d^|findstr/iv "%~nx0"')do ( set/a n+=1,q=n%%n1 if !q!==1 set/a m+=1&set d=!m:~-3!&md !d! echo %%i ==^> !d! move "%%i" !d!\) pause复制代码
TOP
回家路上 当前离线
少尉
@echo off & setlocal enabledelayedexpansion set a=-1 for /f "delims=" %%i in ('dir /b *.txt') do ( set /a a+=1,b=a/2+1 if not exist "!b!\" md "!b!" move /y "%%i" !b!>nul ) pause & exit /b复制代码