This method sets attribute data for a file.
filesystem.SetAttr pathname, attributes
Constant |
Value |
Description |
vbNormal | 0 | Normal (default) |
vbReadOnly | 1 | Read-only |
vbHidden | 2 | Hidden |
VbSystem | 4 | System file |
VbArchive | 32 | File has changed since last backup |
None.
A run-time error occurs if you try to set the attributes of an open file.