check whether a folder is empty

  • Thread starter Thread starter Guest
  • Start date Start date
CuriousMe said:
how can i check whether a folder is empty in WMI.?

thanks

try the CIM_DirectoryContainsFile class. You can perform a WQL query on
the folder you are looking in.
 
Back
Top