Hi Folks -
I was wondering if anyone could suggest an easy way in which I could scan a particular text file using multiple key words/phrases?
Thanks!
Scan a file looking looking for multiple key words or phrases?
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Scan a file looking looking for multiple key words or phrases?
findstr does this automatically if you don't use the /C flag.
Re: Scan a file looking looking for multiple key words or phrases?
I remember showing you how to use the /G option with FINDSTR in one of your previous questions.
viewtopic.php?f=3&t=7572&p=50365#p50343
viewtopic.php?f=3&t=7572&p=50365#p50343
Re: Scan a file looking looking for multiple key words or phrases?
Yes, thank you Squash! It's working great.
However, when using the /F: switich as well, is there a way to put put which file the search strings were found in? thanks!
However, when using the /F: switich as well, is there a way to put put which file the search strings were found in? thanks!