Folder MonitorFolder Content Change Monitor Component for VCL
For all versions of Delphi and C++ Builder from 3 to 10.2.2 Tokyo and for all versions of Windows from XP to 10
Folder Monitor (TFolderMonitor component) allows you to monitor any disk folder content. All you need is to set the Folder property and activate component by the Active property.
When content of the monitored folder is changed (create, delete, rename file or subfolder, change file of subfolder attributes, change any file content) the OnChange event is fired. It's very simple and you don't need to use undocumented WinAPI's notify functions, undefined flags, etc. - just use TFolderMonitor component with simple single event.