@echo off
setlocal enabledelayedexpansion
set filenames=0
set numbers=0
set 每个文件几个帐号=7
set filename=1
for /f "delims=" %%a in (a.txt) do (
set /a numbers+=1
set /a filenames+=1
echo %%a>>!filename!.txt
if !numbers! geq !每个文件几个帐号! (
set /a filename+=1
set numbers=0
)
)