title: bat file only runs first lines command
body: <p>I want a .bat script to run on boot which will automatically increase the hard disk space.</p>
  
  <pre><code>diskpart
  select volume 1
  extend
  exit
  </code></pre>
  
  <p>However that in a .bat file just runs the first command only. I can only get it working if I manually paste it into command prompt.</p>
  
  <p>I have also tried with adding CALL before each command which did not work.</p>
  
  <pre><code>CALL diskpart
  CALL select volume 1
  CALL extend
  CALL exit
  </code></pre>