# VbFileAttribute
{: .no_toc }

Attribute flags for files and directories used by [**Dir**](/tB/Modules/FileSystem/Dir.md), [**GetAttr**](/tB/Modules/FileSystem/GetAttr.md), and [**SetAttr**](/tB/Modules/FileSystem/SetAttr.md). Combine multiple flags with **Or**.

| Constant | Value | Description |
|----------|-------|-------------|
| **vbNormal**{: #vbNormal } | 0 | Normal (default for **Dir** and **SetAttr**). |
| **vbReadOnly**{: #vbReadOnly } | 1 | Read-only. |
| **vbHidden**{: #vbHidden } | 2 | Hidden. |
| **VbSystem**{: #VbSystem } | 4 | System file. |
| **vbVolume**{: #vbVolume } | 8 | Volume label. |
| **vbDirectory**{: #vbDirectory } | 16 | Directory or folder. |
| **vbArchive**{: #vbArchive } | 32 | File has changed since the last backup. |
| **vbAlias**{: #vbAlias } | 64 | Identifier is an alias (legacy Macintosh). |

### See Also

- [Dir](/tB/Modules/FileSystem/Dir.md), [GetAttr](/tB/Modules/FileSystem/GetAttr.md), [SetAttr](/tB/Modules/FileSystem/SetAttr.md)
