I am using the WMI Event Watcher Task to watch for the arrival of a file.
I have the following entered into the WqlQuerySource field in the WMI Event Watcher task.
When I run it, the task turns yellow but does not find the file when it shows up (stays yellow until it times out).
SELECT * FROM __InstanceCreationEvent WITHIN 10
WHERE targetinstance isa "CIM_DirectoryContainsFile"
AND TargetInstance.GroupComponent = "WIN32_Directory.Name=\"c:\\\\Users\\\\myfile\\\\TestFolder\\\\text.txt\""
I know that there is a third-party File Watcher Task, but I'd like to know why this isn't working.
Any suggestions would be greatly appreciated!
I have the following entered into the WqlQuerySource field in the WMI Event Watcher task.
When I run it, the task turns yellow but does not find the file when it shows up (stays yellow until it times out).
SELECT * FROM __InstanceCreationEvent WITHIN 10
WHERE targetinstance isa "CIM_DirectoryContainsFile"
AND TargetInstance.GroupComponent = "WIN32_Directory.Name=\"c:\\\\Users\\\\myfile\\\\TestFolder\\\\text.txt\""
I know that there is a third-party File Watcher Task, but I'd like to know why this isn't working.
Any suggestions would be greatly appreciated!