File monitoring for all drive

rohit rohitsethidce at gmail.com
Thu May 24 19:26:26 EDT 2007


hi
i want to detect all file change operations(rename,delete,create....)
on ALL THE DRIVES of the hard disk
using the method ReadDirectoryChanges API , i.e program no. 3 in the
webpage http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_changes.html
.
Please suggest some modification to the program so that i can detect
changes to ALL the drives
(to detect changes on c:\           set
path_to_watch = "." to "c:\\"   but this works for only one drive

thanks
rohit




More information about the Python-list mailing list