Link to home
Start Free TrialLog in
Avatar of tadeystas
tadeystasFlag for United States of America

asked on

Batch file: check for line 5 in command output, if it says xxxx, then do yyyy

Title says it all.
I need to create batch file, which will call the command that has multiple line of output. I need to read line 5 and if it says xxxx, then proceed to yyyy, else proceed to zzzzz.
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

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 tadeystas

ASKER

Works great!!! Thank you soooo much!!!
No problem, glad it helped.

Steve