Click to See Complete Forum and Search --> : File Change Notification


August 19th, 1999, 05:09 PM
I have a thread that uses a file change notification handle to watch a directory for file (last write)changes. The problem is, in that directory there are hundreds of files. I'm interested in knowing any last write changes on only specific files. How do I do this, because the file change notification handle returns whenever any file in the dir changes. Is there anyway to monitor specific files only in a dir for write/update changes without waiting in a loop.

Thanks for your help.

August 20th, 1999, 10:13 AM
i had a similar problem but found nothing - you should search for your files after each notification - no way.
i suspect some filter driver can do this but it will be more complex by all means from win32 enumeration. enumeration of all files is not slow and can be done each time notification event signals.