hdfsvod 当前离线
列兵
wc726842270 (枫中残雪)当前离线
大校
@echo off (for %%i in (*.txt) do ( for /f "delims=" %%j in ('findstr /n .* %%i') do echo %%j ) )>c:\temp.txt if exist c:\?#.txt del c:\?#.txt set /p a=请输入要取的次数 :1 set /a n+=1 (for /f "tokens=1* delims=:" %%i in ('findstr %n% c:\temp.txt') do echo=%%j)>c:\%n%#.txt if %n% equ %a% (goto :2) else goto :1 :2 del c:\temp.txt start c:\ pause复制代码
TOP
CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion for /l %%f in (1 1 5) do for /f "tokens=1* delims=:" %%a in ('findstr /n .* %%f.txt') do set /a "n=%%a+5"&echo>>!n!.txt %%b复制代码
superbat 当前离线