shenshenan 当前离线
列兵
flyinnet9 当前离线
少尉
@echo off setlocal enabledelayedexpansion set f=100 for %%a in (*.txt) do ( set /a mod=!f!%%100 if !mod!==0 md !f! move /y "%%a" !f!\ set /a f+=1 )复制代码
TOP
DAIC 当前离线
中将
@echo off setlocal enabledelayedexpansion set folder=1 set file=0 for %%i in (*.txt) do ( if not exist "!folder!\" ( md "!folder!" ) move /y "%%i" "!folder!\" set /a file+=1 if !file! equ 100 ( set folder+=1 set file=0 ) )复制代码