This is a file/folder monitoring class I wrote a while ago.

ShellChange.pas Source Code