|I need to search a directory of 75000 text files for any files containing a particular string. How can I search the files for the string and output a list of those files into a text file?|
I am currently doing this:
find /C "SEARCHSTRING" *.txt > c:\Wanted.txt
however the output file is filled with non-hits as well as hits.
in this case I only want to trap File2.txt in my output log.