Is it possible to copy a new file created by third party application inside a directory automatically on windows?
It goes like:
Third party process 'P' creates a new temporary file 'F' inside a directory 'D'. Whenever this file F is created by the process P, I want to copy this file F into another directory D2. Additional problem is that file F gets deleted by the process P after some time. So cron job won't help.
I think, I need to trap 'new file created' event somehow, if any such thing exists.