Cannot set file to have multiple attributes

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?
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
Topic archived. No new replies allowed.