When you call the Dir, GetAttr, or SetAttr functions, you can use the FileAttribute enumeration in your code in place of the actual values.
The Attributes argument takes the following FileAttribute enumeration members:
Member | Constant | Description |
---|---|---|
Normal | vbNormal | Normal (default for Dir and SetAttr). |
ReadOnly | vbReadOnly | Read only. |
Hidden | vbHidden | Hidden. |
System | vbSystem | System file. |
Volume | vbVolume | Volume label. |
Directory | vbDirectory | Directory or folder. |
Archive | vbArchive | File has changed since last backup. |