|Seemed easy at first, but can't get it going either ... the dot can also mean no character at all ... which is the case when it is at the end of the line.|
Lynda, the C is a literal expression (no use of wildcards, all characters as written literally), the R is what you need, since you need to specify some form of wildcards.
edit : ... got it :
findstr /I /C:"I have tested" test.txt > temp01.txt
findstr /I /V /E /R "I have tested" temp01.txt
Not sure how to do it with one command, so taking two. The V is for all lines NOT matching, the E means "at the End". Maybe line 2 can also be done with C instead of R
Well .. this way:
findstr /I /C:"I have tested" test.txt | findstr /I /V /E /C:"I have tested"