![]() |
A drive letter is related to which physical disk?!
Hi all ,
I'm really interested if there's a way to find out that a specific drive letter is related to which physical disk? ( in XP and 98 ) . however in XP I found an IOCTL code ( IOCTL_DISK_GET_DRIVE_LETTERS ) , but it has not been even defined in windows! and i can't to compile my application! Any idea? Is there any way ? ( for example from kernel mode ). Tnx, Just4uriM |
mountmgr.....
|
you dont need r0 to get all these information
simply start wmic in cmd.exe and get all the information you need Code:
wmic:root\cli>path Win32_DiskPartition get DeviceidCode:
path Win32_DiskPartition assocor script oldstyle Code:
ComputerName = "."http://msdn2.microsoft.com/en-us/library/aa394592.aspx Quote:
|
Thanks for your guidance,
Quote:
Regards, Just4UriM |
| All times are GMT +8. The time now is 04:51. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX