How do you find files inside directories with WMI Query Language?
This is what I have so far:
select * from Cim_DataFile
where path = "\\\\C:\\Users\\name\\"
The query returns no results.
Any help is much appreciated.
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.
You must remove the drive of the
Pathproperty and specify that value in theDriveproperty, so rewrote your WQL sentence to