title: Batch file for running DiskPart
body: <p>I am trying to develop a batch file to run and remove the Hidden partitions in Windows 7, when trying to remove all partitions. Normally I do this line by line in the Command prompt windows, but was trying to figure out how to create a batch file to run and speed this process up..</p>
  
  <p>Here are lines I type in the command prompt.</p>
  
  <pre><code>disk part
  Rescan
  List Disk
  Select Disk 3
  List Partition
  Select Partition 3
  Delete Partition Override
  </code></pre>
  
  <p>I have created a BAT file but can only get the first command to work. </p>