📜  dos cmd 相当于“head” - BASIC 代码示例

📅  最后修改于: 2022-03-11 14:52:02.014000             🧑  作者: Mango

代码示例2
C:\> netstat -an > temp.txt && for /l %l in (1,1,10) do @for /f "tokens=1,2* delims=:" %a in ('findstr /n /r "^" temp.txt ^| findstr /r "^%l:"') do @echo %b