Hello List,

i use the the ChangeNotify Module ... is there a way to get a list
of Files and/or Directories whos changed with this Modul .. or
by another Modul? And btw a modul how allows me easily to 
change the file attributes ... 

Thx for your ideas ...
Hannes




---- Codesnippet i use ----

use Win32::ChangeNotify;

# Konfiguration
-------------------------------------------------------------- 
  $aktion = 1;
  $wastun = 'notepad';
  $pfad   = 'c:\\';
  $subdir = 0;
  $events = 'LAST_WRITE|ATTRIBUTES';
#
----------------------------------------------------------------------------


print "Starte Ueberwachung von $pfad ...\n";

$notify = Win32::ChangeNotify->new($pfad,$subdir,$events);
while (1) {
        $notify->wait;
        print "Unter dem Verzeichnis $pfad wurden Aenderungen
vorgenommen.\n";
        system($wastun) if ($aktion);
        $notify->reset;

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to