Extract data from a text file under certain conditions....
Posted on 2004-09-17
I want to extract data from a McAfee logfile, but as I am a newbie in programming vbs I don't know which code I need in the vbs script.
Every day a full system scan is performed and and the results are placed in a logfile on every server. I need to extract the data from a specific date from this logfile.
The text given in the logfiles are in this format:
"9/17/2004 1:30 AM Scan Started NT AUTHORITY\SYSTEM Scan All Fixed Disks"
So I need to extract all lines from the logfile containing the current date in the given format 9/17/2004.
Does anybody know how to do this?