回复 4# zfen12x
两个方案:- @echo off
- for /f "delims=" %%a in ('find /c /v ""^<win.log') do set /a skip=%%a-100
- more +%skip% win.log|sort /+4096 >tmp.log
复制代码
- @echo off&setlocal enabledelayedexpansion
- sort /+4096 win.log /o tmp.log
- (for /l %%a in (1 1 100) do (
- set str=&set /p str=
- echo;!str!
- ))<win.log >tmp.log
复制代码
|