Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count record on Text files

Status
Not open for further replies.

Fabzionj

Programmer
Jun 17, 2019
1
US
is a very simple way to do either in DOS or put this command into a .bat

find /v /c "" *.* > allcount.txt

/V Ddisplay all lines
/C Display all the count
“” No string
> More than send to a file
Allcount.txt that is the file name where all the count files will be storage

if you do it in DOS you have to run this from the command line in the directory that you drop all your files

this find command is up to you where you decide to run it from...good luck

this will create a file ( allcount.txt ) that you could open in notepad or excel and strip the data in order to get the total from all the files into a big summary.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top