How to detect a user opening a windows folder

How can I detect if a user opens a windows folder (or directory) and put a
action to it before the folder opens ?

Reino

Please email to : reinoblee...@hotmail.com

thanks!