Hello,
I have batch file that starts a small exe file to connect to a device through COM 1 to send some data. Here's where I need some help. The program does not return error codes, but I need to use an IF, GOTO statement to compare 2 results and go to different parts of the batch file based on those results.
The output text is either this for failure:
(E) Can't communicate with emmi box
or this for success:
Flexing EMMI Box to power up in EMMI Mode
If the first event happens, I want to go to the line :fail. If the second event happens, I want to go to the line :success.
I have tried several IF statements, and none of them can recognize the different events, and go to the proper line. If anyone can help, I would really appreciate it.