Sets directory attributes.
DirAttrSet(dir-list, settings)
(s) dir-list a tab or vertical bar delimited list of one or more sub-directory names.
(s) settings new attribute settings for the directories.
(i) always 1.
Note: DirAttrSet does not accept wildcards.
The attribute string consists of one or more of the following characters (an upper case letter turns the specified attribute ON, a lower case letter turns it OFF):
Symbol |
Meaning |
R |
Read only ON |
A |
Archive ON |
S |
System ON |
H |
Hidden ON |
r |
Read only OFF |
a |
Archive OFF |
s |
System OFF |
h |
Hidden OFF |
This function supports extended-length path names.
DirAttrSet("c:\windows\temp", "rASh") Message("DirAttrSet","Directory attributes set.")
DirAttrGet, FileAttrGet, FileAttrSet , FileTimeGet, FileTimeTouch