We have applications that integrates to other applications through files exchanging. We needed to be able to be notified on the following situations:

  • Files are accumulating on a certain folder, reaching a defined number of accumulated files;

  • A file is present on a folder without being taken by the app for more than a specified number of minutes;

  • A folder has been empty with no file movement for more than a specified number of minutes;

Is there any tool for Windows that would allow me to set e-mail alerts upon those events? Preferrably a free one :)

I believe this might be a stupid question, but I swear I tried to google it for two days and I came up only to the wrong tools, or tools too difficult to learn.

Thanks a lot in advance.


Jonathas Carrijo


On Linux you can use inotify and dnotify to monitor the folders and have a script that is doing what you need. Take a look on incrond too.

On Windows you could write a powershell script and use FileSystemWatcher Class.

See also: https://stackoverflow.com/questions/3517460/is-there-anything-like-inotify-on-windows

  • Thanks, Mr Vutcovici. Actually, I fogot to say that our servers run on Windows. – Jonathas Carrijo Oct 31 '12 at 17:48
  • The post you mentioned referenced a Java API jnotify.sourceforge.net which seems a promising choice for our needs. – Jonathas Carrijo Nov 1 '12 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.