I have been able to construct the following however im more after a batch that can add the results up of each file as it goes along dose anybody know how to achieve this?
find /C "HELLO" c:\TOM\*.TXT
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I understood your requirement and you want to count how many times (lines count) word “HELLO” appears across all files, then
type c:\TOM\*.TXT 2>nul |find /c "HELLO"(2>nulsuppresses listing of file names, if you want to see them just remove that part) should do the job.