Discovering newly created files

Started by
0 comments, last by Maega 19 years, 7 months ago
Does anyone know how to discover when windows creates a new file on disc. I know that there is such a Windows message, from which the files name and path can be extracted, but I can't remember what is is called. I'm using Delphi on this, so a "Delphi trick" would work as well. Anyone? Johan
Advertisement
You can use FindFirstChangeNotification(). If you know the file system will be NTFS, look into Change journals.

This topic is closed to new replies.

Advertisement