title: Get the return value when running a command in batch file
body: <p>I have a command to run : <code>vsinstr -coverage hello.exe</code>, and it returns error code with the following message to the stderr : Error VSP1018: VSInstr does not support processing binaries that are already instrumented.. </p>
  
  <p>How can I get the error code when I run this command in batch file?</p>