Make bootable usb with diskpart, but by the drive letter, not the disk number. RRS feed

  • Question

  • Im trying to make a simple batch file that will automatically use diskpart to format the drive and make it bootable. But since the only information that is given at the start of the file is the drive letter, how can i get the drive number from the drive letter? 
    • Moved by Bill_Stewart Friday, March 15, 2019 12:27 AM This is not "scripts on demand"
    Sunday, November 25, 2018 11:56 PM

All replies