I am searching through a bunch of files in a directory and want to redirect the file name of any file that does not contain the "run completed" string, as this would indicate that the run was not successful.
What I am looking for is something similar to the /m parameter:
/m : Prints only the file name if a file contains a match.
...but I want it to print only the file name if the file DOES NOT contain a match.
So what can I add to it?
findstr /i /c:"run completed" *.log >> _pass_fail_results.log