|
-
February 17th, 2007, 08:09 AM
#1
WMI: File creation notification
Hello,
I need a WMI query that will notify me whenever a new file is created inside specific directory OR any of its subdirectories.
I tried to catch __InstanceCreationEvent for CIM_DataFile, but that didn't work... Then I tried to catch the same event for CIM_DirectoryContainsFile. That one worked, but I couldn't make it control the subdirectories - it controlled only the directory itself...
Can you help me with the query?
Last edited by Dmitry Perets; February 17th, 2007 at 08:12 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|