87
61
I need to set up some sort of a script on my Vista machine, so that whenever a file is added to a particular folder, it automatically triggers a background process that operates on the file. (The background process is just a command-line utility that takes the file name as an argument, along with some other predefined options.)
I'd like to do this using native Windows features, if possible, for performance and maintenance reasons. I've looked into using Task Scheduler, but after perusing the trigger system for a while, I haven't been able to make much sense of it, and I'm not even sure if it's capable of doing what I need.
I'd appreciate any suggestions. Thanks!
2
Link above has ) after aspx: https://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx
– Sun – 2016-05-16T17:11:37.953Sounds like you need somethink like Linux's inotify, but for windows. Jnotify might help, but since it's Java might be too heavyweight.
– Keith – 2010-12-29T10:33:03.5001
I was wondering about this too... found the [MSDN page](http://msdn.microsoft.com/en-us/library/aa365261(VS.85%5C).aspx).
– Keith – 2010-12-29T10:38:08.067