Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post
    I am looking for a piece of code to determine which of my drives are physical drives and which are logical partitions of a physical drive; additionally, which physical drive holds each partitioned logical drive.

    Any guidance will be greatly appreciated.
    Regards
    Don

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    You'll need to use Windows API functions. See if the code in post #4 in Physical drive name to logical drive name mappings helps.

  3. #3
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post
    [quote name='HansV' post='787214' date='02-Aug-2009 14:20']You'll need to use Windows API functions. See if the code in post #4 in Physical drive name to logical drive name mappings helps.[/quote]
    Thank you Hans. It does the trick nicely.
    Regards
    Don

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •