I want to create a list of keywords (call it search.txt) and have a search of a specific path and subdirectories look in all files for the occurrence of the keywords.
For instance, the search.txt file would contain I_FI_REJECT, M_GRP_CLIENTS, C_UNSUCCESS_CONTACTS (each on a line), and if I was looking in the folder "C:\MyCode\" all files in that folder (and subfolders) would be searched for ANY of the keywords. I would like the search results to show the keyword, the filename that contains it (with full path), the contents of the line containing the keyword and, if possible, the line number that contains the keyword. I am certain showing the line number might be considerably more work and possibly a lot more overhead, so that can be omitted.
If one of the keywords is not found in any of the files, I would like a message printed, something like "keyword" was not found.