[python-win32] knowing "file accessed" and "file opened"

Tim Roberts timr at probo.com
Fri Feb 26 18:52:56 CET 2010


OptiCar wrote:
> i need to know when an updated file has been opened.
> is it possible to watch the "OPEN" and "ACCESS" event with an adaptation
> of the Tim Golden's script ?
> need to work on windows, does pywin32 can ?
> inotify is only for linux
> dazuko can catch on linux
> what can work on windows to see the file open and file access event ?
>   

There is simply no mechanism in Windows to provide this information.  It
requires either API hooking or a file system filter driver, both of
which are well beyond the scope of this mailing list.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list