Output line numbers

Acer Aspire 5920g
July 23, 2010 at 07:25:36
Specs: Microsoft Windows 7 Professional, 2.201 GHz / 2046 MB
Hello guys i need CMD to output line numbers besides its output to a text file if i type ipconfig for example..is there a way to do it?

See More: Output line numbers

Report •


#1
July 23, 2010 at 08:01:50
ipconfig | findstr /n /r ".*"> textfile

...maybe.



Report •

#2
July 23, 2010 at 08:06:49
thanks for it!

Report •

#3
July 23, 2010 at 08:15:31
thanks, problem solved!

Report •
Related Solutions


Ask Question