Computing.Net > Forums > Programming > Finding the total line counts in a file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Finding the total line counts in a file

Reply to Message Icon

Name: Gods
Date: May 6, 2009 at 06:57:10 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

I would like to find the total number of rows in a file using a batch script



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: May 6, 2009 at 07:04:31 Pacific
Reply:

just a command

  type File_Name | find /V /C "" 

assuming the file involved is a text file.

0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Finding the total line counts in a file

How to remove end-of-line in a file www.computing.net/answers/programming/how-to-remove-endofline-in-a-file/10873.html

File I/O counting number of words in a file www.computing.net/answers/programming/file-io-counting-number-of-words-in-a-file/20183.html

Store the result in a variable www.computing.net/answers/programming/store-the-result-in-a-variable/11122.html