Interesting..!! Thanks for the reply. I'll try that approach. Rather strange necessity though I think!
Thanks for your effort! Regs Rupert Heesom Asst Distribution Engineer Adventist World Radio -----Original Message----- From: Felix Geerinckx [mailto:[EMAIL PROTECTED]] Sent: 15 July 2002 13:46 To: [EMAIL PROTECTED] Subject: Re: Using win32::ChangeNotify on Mon, 15 Jul 2002 11:08:48 GMT, Rupert Heesom wrote: > I'm struggling to implement the win32::Changenotify method in a > script. > > [...] > > The relevent code snippet : > $NewTIFF = Win32::ChangeNotify->new("i:\\",True,"FILE_NAME"); > while(True) > { > > $NewTIFF->wait or warn "Somethings wrong: $!\n"; > > foreach(@TIFFDirs) > { > ### processing each directory ##### > } > > $NewTIFF->reset; > } Is 'i:' an mapped network drive by any chance? I just ran a quick test on my network (with two Win98 machines), with the following results: ChangeNotify doesn't notify a change, unless the change (in my case, the creation of a new file) is done by the machine on which the Perl program watching the directory runs. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]