[python-win32] os.stat() : files without "date modified" : OSError: [errno 22] Invalid Argument
timr at probo.com
Tue Oct 12 19:30:44 CEST 2010
> on a users machine there are files which show no time stamp in
> "date modified" in Windows Explorer.
> Right on such files os.stat() crashes with "OSError: [errno 22]
> Invalid Argument".
> how can such files exist? and how to create such files
> programmatically for a test?
> what is the underlying cause for the crash?
Can you give us a specific example? Some Windows viruses install a file
system filter to render some files inaccessible, and it's possible to
set file permissions so that you don't have the right to look at that
kind of information.
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32