how to tell when a file has been copied to a specific folder

  • Thread starter Thread starter Marco Martin
  • Start date Start date
M

Marco Martin

Hi group,

is there a way that I can fire an event when a file gets written to a
specific directory without knowing where the file came from (it comes from
another program)?

regards,

Marco
 
Hook the file system with a FileSystemWatcher object. Look this object up in
MSDN and it will give you an example of how to implement.

PJ
 
Back
Top