title: Run command2 only if command1 succeeded in cmd windows shell
body: <p>How do we combine commands in cmd shell language such that the second command is only executed if the first command successfully completed?</p>
  
  <p>something like following bash-command</p>
  
  <pre><code>make &amp;&amp; ./a.out
  </code></pre>
  
  <p><code>a.out</code> is only executed if <code>make</code> was successful</p>