I am writing a batch script that will search log files for two sets of strings, and I want it to encounter both before printing the line.
Here is the code:
FINDSTR /I /c:"%_SUBJECT%" /c:"%_FROM%" %_PATH%\%_LOG_BLACKLIST%
At the moment, if it finds string1 (_SUBJECT) or
string2 it will print the line. However I want it to only print a line if it finds string1 and