OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Tim Krein (kreintpUS.IBM.COM)
Date: Thu May 09 2002 - 10:55:06 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > What happens to windows with SetPathInfo of the same attributes?
    >
    > Steve French

    I was not able to generate a SetPathInfo level=x0101 in a few minutes of
    testing. However, I did try some DOS command line testing to see if I
    could get some other values for attrib in SetFileInfo level=x0101. When I
    issue "attrib +r file" I get attrib=00000081, and when I issue "attrib -r
    file" I get attrib=00000080. Therefore, I will only turn off the R flag
    (turn on write permissions) for a file if the "normal" flag (x80) is on and
    the readonly flag (x01) is off. Thanks.

    - Tim Krein

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info including how to unsubscribe. Save time, search
    the archives at http://discuss.microsoft.com/archives/index.html