title: Batch Command Terminates in Between
body: <p>I am trying to run following sequence of commands in a batch file.</p>
  <pre><code>C:\&quot;Program Files&quot;\Java\jdk1.8.0_25\bin\jarsigner.exe -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore .\my-release-key.keystore .\platforms\android\build\outputs\a
  pk\android-release-unsigned.apk alias_name
  
  set /p ver=&quot;Enter Version:&quot; 
  
  G:\&quot;Android Studio&quot;\sdk\build-tools\23.0.1\zipalign.ex
  e -v 4 &quot;.\platforms\android\build\outputs\apk\android-release-unsigned.apk&quot; AppName%ver%.apk
  </code></pre>
  <p>However, the command terminates and does not accept complete URL in the first command, check screenshot.</p>
  <p><a href="https://i.stack.imgur.com/0SI73.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0SI73.png" alt="Command Terminated" /></a></p>
  <p>What am I doing wrong? Any suggestions or solutions are highly appreciated.</p>