Cannot set file to have multiple attributes

Nov 9, 2010 at 7:38pm
I don't know if its because of Vista/7 or just a lame compiler but I can't use SetFileAttributes or command prompt to change a files attributes to have more than 1 attribute. I can have a hidden file, or a system file, but not a system hidden file, or even a read only hidden file.

What gives?

Is the world coming to an end?
Nov 9, 2010 at 8:04pm
It says right in the documentation for this function to assign multipule attributes us the bitwise OR operator.

See Here:
http://msdn.microsoft.com/en-us/library/aa365535(VS.85).aspx
Last edited on Nov 9, 2010 at 8:04pm
Topic archived. No new replies allowed.