This discussion is archived
3 Replies Latest reply: Apr 23, 2007 12:22 PM by 807596 RSS

help with registering for events from Windows

807596 Newbie
Currently Being Moderated
Hi,

Im developing a P2P backup system for LANs in Java. I have the following problem
Lets say there is a file called test.txt in my Windows file system. My software is running on Windows at this time. The user opens up the file through Windows Explorer and modifies it or deletes it altogether.
Is there a way I can ask WIndows to alert my software when this happens.? Essentially I need a way to give a list of files to Windows and then listen for any activity on those files

Many thanks for your help and time