title: How to get boolean result back from windows command?
body: <p>I have following commands in a <code>.bat</code> file that is being called from another <code>.vbs</code> file. My requirement is to stop executing the following line and notify user by writing something back to command prompt or pop up(pop up preferred) if <code>msbuild/t:clean</code> doesn't complete execution without any issue. I would like to add a <code>if</code> condition after and execute <code>msbuild/p:configuration=%1</code>. After successfully completion I would also like to notify user the whole process was successful or failed through command prompt or pop up alert. Can these be done?</p>
  
  <pre><code>call "%VS130COMNTOOLS%\vsvars32.bat"
  cd c:\working\develop
  
  msbuild/t:clean
  msbuild/p:configuration=%1
  </code></pre>