Is there any alternative for Win32_MountPoint WMI class that is available on xp?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess you’re actually aware of the fact, that
Win32_MointPointis just an association class betweenWin32_Volume(which consequently is also not available on Windows XP) andWin32_Directory. So a more valid question would actually be “is there an alternative for getting the volume of a directory?”.You could probably achieve the same using the
Win32_LogicalDiskRootDirectoryassociation with aWin32_Directoryinstance, looking up theWin32_LogicalDiskinstance that a directory is located on.Win32_LogicalDiskdoes not provide all the information thatWin32_Volumedoes (for exampleDirtyBitSet), but most of it.You might consider changing your question to state what you’re actually trying to achieve.