From: CT Date: 2005-02-05T06:06:06+09:00 Subject: Re: [ANN] win32-changenotify 0.3.0 Thanks for the great work with win32! On Wed, 26 Jan 2005 08:20:51 +0900, Daniel Berger wrote: > require "win32/changenotify" > include Win32 > > # Wait for any writes to files in the C:\ drive. > filter = ChangeNotify::LAST_WRITE > cn = ChangeNotify.new("C:\\",true,filter) > cn.wait{ |s| > puts "Something changed" > puts "File: " + s.file_name > puts "Action: " + s.action > } > I tried to run this script, after installing everything. The script terminates, I make changes to files in C:\\, and nothing happens. What am I doing wrong? Is there any other doc/sample for win32-changenotify? Thanks in advance! CT