How to get drive numbering from command line?
Posted: Mon Mar 15, 2021 1:12 pm
I'm setting up a batch file to image a few drive partitions using the IFWRotate scripts and would like to be able to specify drive letters since the drive number does not seem to be static. At first I thought it used the same numbering as diskpart but that does not seem to be the case. I realize I can specify the drive letter with /d:?C but that does not seem to work when specifying a partition. Is there a way to query the drive numbering from the command line by specifying the drive letter?