w1983912 当前离线
五级士官
CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion for %%a in (a b) do for /l %%b in (1 1 8) do ( set /a x+=1 .!x!=%%a%%b ) for /f "delims=" %%a in (A.txt) do ( set /a "n=(n+1)%%100","w+=^!n" for %%w in (!w!) do echo>>!%%w!.txt %%a )复制代码
TOP
@echo off&setlocal enabledelayedexpansion findstr>tmp.txt /n A.txt for %%a in (a b) do for /l %%b in (1 1 8) do ( (for /f "tokens=2 delims=:" %%c in ('findstr "^^!n!..:" tmp.txt') do echo %%c)>%%a%%b.txt set /a n+=1 )复制代码
bbwanwt123 当前离线
列兵