Link to home
Start Free TrialLog in
Avatar of WeberTech
WeberTechFlag for United States of America

asked on

Can VB look for a phrase in a logfile?

Can VB check a logfile for a certain phrase like, "Job Completed"?  Sorry, I'm a beginner at this.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Prew
Bill Prew

That all being said, depending on your ultimate need, you might be able to take advantage of the built in FIND or FINDSTR command from a BAT file to look for the matching string, they are easy to use and very fast.

~bp
Avatar of WeberTech

ASKER

Well, I worked the code into my script and it seems to work quickly and gives me the results I need.  I appreciate your help!
You guys rock!  Thank you!
Welcome, thanks for the feedback.

~bp