title: jenkins does not complete 'execute windows command' step
body: <p>I am running a bunch of windows commands as the build step in Jenkins using the "Execute Windows batch command" option. However, the build stops after executing some of the commands, ignoring the rest, and says "Finished: SUCCESS". Here's kind of how my "Execute Windows batch command" looks:</p>
  
  <pre><code>xcopy source\dir dest\dir
  7z x file_name.zip
  cd extracted_dir_name
  rmdir /s /q stale_output
  command_to_be_run
  another_command_to_be_run
  post_processing_
  copy_and_zip_commands_
  </code></pre>
  
  <p>Jenkins executes until <code>another_command_to_be_run</code>, and then just stops as if there are no other commands after that, and says "Finished: SUCCESS".
  Why is this happening? How do I execute the post-processing commands?</p>
  
  <p>PS: <code>command_to_be_run</code> and <code>another_command_to_be_run</code> take more than a few seconds, but I don't know if that matters.</p>
  
  <p>Edit:
  I've later tried commenting out <code>another_command_to_be_run</code> with <code>REM</code>, and then all the other post-processing commands run fine. Soooo Strange! Hope this rings any bells. Thanks in advance..!!!</p>