TheFolderSpy is a folder monitoring utility.

Features:

NEW FEATURE ADDED: Automatically writes log: log.txt in the same folder
>Small size (50 KB download).
>Simple to use.
>Portable (No installation, carry in your thumb drive).
>Attractive interface.
>Monitor any number of folders in real-time.
>Execute a file when a change is detected(plays wav files, executes other files).
>Fully automated (Run and forget).
>ITS FREE.
>Monitor many types of changes: Creation,Deletion, Attributes changes, Access date, Filesize changes etc.
>Auto start (optional).
>Can run in background.
>Can write logs.
>monitor specific files in a folder.

Ever found yourself in a position to know about a change in your hard disk?
Ever wanted to find (with proof) if your younger brother deleted your file?
Ever caught yourself wanting to spy your friend computer?

TheFolderSpy lets you do all things easily.




STEPS:

Just download it.
UnRAR it in any folder. Its portable.
Double click to start.
Select Add item.
Fill the folder you need to monitor, the file type (eg *.mp3) and the execution file that will be executed when a change is detected. Choosing the execution file is OPTIONAL. If you select a WAV file then it is played by TheFolderSpy itself.
Click done.
Now in the settings window click CLOSE.
Now click yes.
YOU ARE DONE.

Now the changes will be detected and listed.
Note that the list is cleared every 30 seconds.
You can stop this by clicking on CLEAR.

You will notice a setts.tfs file created in the folder. Its the settings file containing information about what folder you are monitoring. Its encrypted. If you move TheFolderSpy be sure to move it with you.


Code:
http://venussoftcorporation.blogspot.com/2010/05/thefolderspy.html