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.
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.
AFAIK, WMI doesn’t provides access to the extended file properties. To obtain them, you can use the
Folder.GetDetailsOfmethod (in scripting languages such as PowerShell or VBScript) or theIShellDetails.GetDetailsOfmethod (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.