File Attribute
BlitzMax Forums/BlitzMax Programming/File Attribute
| ||
Is there a way to read and set the file attribute to somthing like read-only or hidden? Thanks in advance. |
| ||
It should be in the windows api.. Search msdn for SetFileAttributes(), msdn seems to be loading slow for me so I can't show you what you need. |
| ||
Here you go! http://msdn.microsoft.com/en-us/library/aa365535(VS.85).aspx All those 0x#### values are hex, I think you write them like this in Max: $#### (replace 0x with $) |
| ||
Thanks |