How can I find and compare more than one sets of strings in batch in order to check for errors??? I know how to do it with one set of string:
FINDSTR /C:"successful" someFile.txt && (ECHO It was successful.)|| ECHO It failed.
Here it looks for the word "successful" in that someFile.txt and prints out the 1st echo if it finds the string, the 2nd echo if it can't find the string. Now, I want to search for not only 1 but 2 or 3 sets of words/strings at once. Is that possible?
I guess, the best way here is to use those conditional execution commands properly. Or, like @DocBrown said, use the FINDSTR several times.