1.

Solve : Need to list all text files which have some string.?

Answer»

I want to list all the files (through an AUTOMATED process) which contain either of a SET of strings. Getting the string/strings which was present in the file WOULD be fantastic.
If anyone has any answer, please help!

To search all the files in the current directory and list any files that contain either of the words "foo" or "bar" (case insensitive), use the command:
CODE: [Select]findstr /i "foo bar" *THANKS Gary!



Discussion

No Comment Found