If using a batch script, you can obtain the drive letter by using the 0
argument.
echo %~d0
Though if using folder mounts, you will want to keep the folder name as well.
wmic volume where label='Knox' get name
For a target drive, if you know it has a letter, you can use the
wmic volume where label='Dugout' get name
Once you run out of drive letters A-Z; to access the drives, you can map them to folders. https://technet.microsoft.com/en-us/library/cc753321.aspx
- Create an empty folder on a NTFS drive.
- Open Disk Management
- Set the path for the desired Partition.
Or from the command line, use diskpart