Answers for "dos/cmd equivalent to "head""

0

dos/cmd equivalent to "head"

findstr /n "." myfile.txt | findstr "^.:"
Posted by: Guest on April-07-2021
0

dos/cmd equivalent to "head"

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
Posted by: Guest on April-07-2021

Code answers related to "dos/cmd equivalent to "head""

Code answers related to "BASIC"

Browse Popular Code Answers by Language