Menu

#91 New FILE_ATTRIBUTE Request

closed-fixed
nobody
win32 (43)
5
2012-01-11
2012-01-11
Matt Wood
No

After working with the win32con library, I have found it is missing the file attribute for offline files. In order to meet my own projects deadline I have found the correct attribute integer and updated my local site package with FILE_ATTRIBUTE_OFFLINE = 5632. I tested this attribute against archive, offline and hidden files with success. Please let me know if you have any questions, thanks.

Matt

Discussion

  • Mark Hammond

    Mark Hammond - 2012-01-11

    win32con in the next release will include this constant - but note the value is 4096 (0x1000) - 5632 is FILE_ATTRIBUTE_OFFLINE | FILE_ATTRIBUTE_REPARSE_POINT | FILE_ATTRIBUTE_SPARSE_FILE

     
  • Mark Hammond

    Mark Hammond - 2012-01-11
    • status: open --> closed-fixed
     

Log in to post a comment.