Recently in Useful Category
To count the number of lines in a file using DOS, use the following command. Replace filename.txt with the actual filename.
findstr /R /N "^" filename.txt | find /C ":"
This is especially useful when the file is very large (say, over 250k lines) and using NotePad to open the file would definitely hang. Just tested the command on a 1.4M lines file and it took about 2 minutes to give me the result.
Reference: http://brett.batie.com/?p=25
Search
About this Archive
This page is a archive of recent entries in the Useful category.
Unix/Linux Reference is the previous category.
Washington DC is the next category.
Find recent content on the main index or look in the archives to find all content.
Categories
- ASP (1)
- Architecture (2)
- Birthdays (11)
- Blogs and Blogging (10)
- Cars (1)
- Code Samples (1)
- Coupons (1)
- Credit Card (1)
- Dell (2)
- Digital Cameras (2)
- Domain Names (9)
- Excel (3)
- Forwards
- General (28)
- Google (20)
- Holidays and Festivals (3)
- Interesting! (14)
- Internet Related (41)
- Life (2)
- Linux (3)
- Manipur (2)
- Manthan (2)
- Media (3)
- Movies (22)
- Music (1)
- Online Shopping (3)
- Photos (2)
- Politics (2)
- Powerpoint (2)
- Reviews (2)
- Scripts (1)
- Shopping (2)
- Software (2)
- Songs (1)
- TV and Entertainment (2)
- Tech (38)
- Tips (1)
- Travel (1)
- University of Tennessee (5)
- Unix/Linux Reference (5)
- Useful (1)
- Washington DC (1)
- Webdesign (1)
- Webhosting Reviews (1)
- Words (1)
