Page 1 of 1

Batch script that count all occurrences of a particular string

Posted: 06 Jun 2019 05:13
by Julya
Hello ,

I need a batch that count all occurrences of a particular string in a list of files,
and displays the file name and the number of occurrences for each of them .
Thanks in advance for help .

Re: Batch script that count all occurrences of a particular string

Posted: 07 Jun 2019 21:09
by Samir
Ummm...the find command itself can do that--find /?