Hello,

I'm rather new to vbscript and it would be very much appreciated if one of you could help me out. I have the following problem:
Basically I have some log files (from robocopy) and I want to search inside of those log files for a certain word.
I've done that using the FileSystemObject what works fine but in my output, each time the word was found in a line it's being echoed out. I just want to have an output telling me only one time if the word has been found or not, even if the word I'm searching for exists many times within the log file.
Also it would be great if I could additionally echo out the name of the log files containing the world I'm searching for.

Thank you very much for your help!