DelphiFAQ Home Search:
General :: Windows :: Programming :: Windows with Delphi :: Windows Filesystem
File related questions and answers. File operations, attributes, system dialogs, hard disk handling.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Monitoring a directory/ detecting changes

The Win32 API provides FindFirstChangeNotification / FindNextChangeNotification (see for details in win32.hlp).

A good solution that works both with Win95 and NT can be found at http://www.rtfm.be/fpiette.
There is a freeware component TDirmon (directory monitor), works perfectly and uses these functions.

A sample program that monitors a directory is provided.

Generated 4:02:44 on Dec 15, 2017