Problem in identifying an archived file in Windows

venu madhav venutaurus539 at gmail.com
Wed Feb 25 08:40:22 CET 2009


Hello all,
           I am writing an application which has to identify the
archived files in a given directory.I've tried using the function
i = win32api.GetFileAttributes (full_path)

to obtain the attributes.But am unable to identify based on the value
it returns as it is returning 5152, 13856 etc for different files but
all of them are archived. Is there any way to come to a conclusion
using these numbers about whether a file is archived or not.

Thanks in advance,
Venu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090225/c1f979ce/attachment.html>


More information about the Python-list mailing list