Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

FINDSTR and FOR Script

Apr 19, 2005 1:30AM PDT

Hello,
I am having a lot of trouble figuring out the solution to a problem. I have attempted to use FINDSTR command in a batch file however it does not yeild the results I am looking for.

Here is my problem:
I am looking for these 3 words/acronyms:
FBI
Iowa
CIA

What I am trying to accomplish is if any two or three (but not one) of these words/acronyms are in any type of file then I need to know the file name and location. I have to search a server that has 300GB of data on it.

Discussion is locked