Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have several Local Hard Drives such as C:, D:, F: and so on. Also several CD rom Drives.

I want to know where windows store these data (Drive Letters and Drive Types).

share|improve this question
add comment

1 Answer

Drive letters can be found here:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
share|improve this answer
    
Thanks, But What about Drive Types? –  Stranger Aug 4 '11 at 8:24
    
Thats in the Data column of the keys. –  cularis Aug 4 '11 at 8:29
    
But it is in Binary, how to translate them? which means local hard drive? Which means CD-Rom? –  Stranger Aug 4 '11 at 9:25
    
They are in Hex IIRC –  surfasb Aug 5 '11 at 6:51
    
Only hard-drives are in hex, other types have long, variable-length Unicode strings. If you open one in the Edit Binary Value dialog, you’ll see them. A CD/DVD will be something like \??\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. –  Synetech Mar 21 at 16:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.