nkb <nkb / pacific.net.sg> wrote in message news:<416A5D4B.5040806 / pacific.net.sg>...
> Hi.
> I placed the following codes at the bottom of the file DirectoryWatch.rb 
> and ran it from my command line in WindowsXp.

<snip>

If you don't care about cross platform support, there's also win32-changenotify.

Regards,

Dan