Sets file attributes.
FileAttrSet (file-list, settings)
(s) file-list a delimited list of files. May contain wildcards. (example: "*.jpg|*.bmp")
(s) settings new attribute settings for those file(s).
(i) always 1.
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 |
Symbol Meaning |
R read only ON |
r read only OFF |
File list may contain * and ? wildcards.
This function supports extended-length path names.
testfile1=StrCat(DirWindows(0),"win.ini") FileAttrSet(testfile1, "rAsh") Message("FileAttrSet","File Attributes Set")