title: Windows batch file && operator
body: <p>In bash I can write this:</p>
  
  <pre><code>#!/bin/sh
  ant debug &amp;&amp; adb install -r bin/Rocher-debug.apk
  </code></pre>
  
  <p>But I have a similar windows batch file, and currently it does this:</p>
  
  <pre><code>ant debug
  adb install -r bin/Rocher-debug.apk
  </code></pre>
  
  <p>So, if "ant debug" fails, it will still run "adb install," and that's not ideal. Do any of you guys know how to do an &amp;&amp; equivalent in this situation?</p>
  
  <p>I really have to sit down and properly learn windows scripting some day soon, since I'll be doing a lot of windows work in a few months. But for now a quick answer would be awesome :-)</p>