I need to read the output of a command in a batch file in order for the program to make a decision based upon strings located in that output. What is the best way to do this?