Is there a WMI namespace and a class that can be used to obtain the extended properties of a file, such as Owner, Author, Title, Subject, Category, Comments?
please suggest.
Is there a WMI namespace and a class that can be used to obtain the extended properties of a file, such as Owner, Author, Title, Subject, Category, Comments?
please suggest.
AFAIK, WMI doesn't provides access to the extended file properties. To obtain them, you can use the Folder.GetDetailsOf
method (in scripting languages such as PowerShell or VBScript) or the IShellDetails.GetDetailsOf
method (in compiled languages such as C++). Take a look at this my answer for an example.
* Not sure I used the correct terminology here when distinguishing between the languages, so please bear with me and feel free to correct.