Thanks Abigail for the reply.
And Oops! Sorry if I was vague. Actually, the "complex strings" I mentioned are these:
"imagdata.zip is ready for transfer"
"ConnectDirect Transfer was initiated"
"Imagdata.zip has been renamed to Imagdata_yyyy-mm-dd.zip"
"Finished pruning D:\IP\29509"
So, I'm trying to search for a condition where the above four lines are _not_ in the log file being searched.
I'm trying the "unless" instead of "if" now.
Dave