lijinpengying 当前离线
上等兵
lxh623 当前离线
中尉
TOP
xxpinqz (YiFeng)当前离线
中校
setlocal disabledelayedexpansion echo %%a endlocal复制代码
CrLf 当前离线
论坛巡查
apang 当前离线
上将
@echo off set /a n=-1 for /f "delims=" %%a in (a.txt) do ( set /a n+=1,Name=n/5 + 1 set "str=%%a" setlocal enabledelayedexpansion echo,!str!>>"a_!Name!.txt" endlocal ) pause复制代码
评分人数
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%a in (网址.txt) do ( set /a n=m/5,m+=1 ( setlocal disabledelayedexpansion echo %%a endlocal )>>网址_!n!.txt )复制代码