• You can use LIKE with WMI. I would recommend modifying your query to use TargetInstance.Path, TargetInstance.FileName and TargetInstance.Extension instead of TargetInstance.Name for performance reasons. Using .Name as you have it is like doing a recursive directory listing from T:\ looking for a file you already know the path to, and every 10 seconds.

    Try something like the WMI query used in this article[/url].

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato