I have several local drives such as C:, D:, F: and so on. Also several CDROM drives.
I want to know where windows store these data (drive letters and drive types).
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityDrive letters can be found here:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
\??\IDE#CdRomSony…
, a flash-drive/memory-card might say _??_USBSTOR#Disk&Ven_SanDisk&Prod…
, and a hard-drive will have a much shorter string (~12 bytes) of binary data that is not human-readable. You can also use DevCon
and DevManView to get a list of hardware that is or has been attached to the system.