idc878787 当前离线
一级士官
qixiaobin0715 当前在线
大校
@echo off set /p m=请输入分割行数: setlocal enabledelayedexpansion for /f "delims=" %%a in (a.txt) do ( set /a n+=1 if !n! leq !m! (echo,%%a>>1.txt) else echo,%%a>>2.txt ) pause复制代码
TOP