user629926
user629926

Reputation: 1940

Win32_MountPoint alternative for xp

Is there any alternative for Win32_MountPoint WMI class that is available on xp?

Upvotes: 2

Views: 334

Answers (1)

Christian.K
Christian.K

Reputation: 49260

I guess you're actually aware of the fact, that Win32_MointPoint is just an association class between Win32_Volume (which consequently is also not available on Windows XP) and Win32_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_LogicalDiskRootDirectory association with a Win32_Directory instance, looking up the Win32_LogicalDisk instance that a directory is located on.

Win32_LogicalDisk does not provide all the information that Win32_Volume does (for example DirtyBitSet), but most of it.

You might consider changing your question to state what you're actually trying to achieve.

Upvotes: 3

Related Questions