Dir, GetAttr, and SetAttr Constants

Microsoft Visual Basic Constants

Dir, GetAttr, and SetAttr Constants

   

The following constants can be used anywhere in your code in place of the actual values:

Constant Value Description
vbNormal 0 Normal (default for Dir and SetAttr)
vbReadOnly 1 Read-only
vbHidden 2 Hidden
vbSystem 4 System file
vbVolume 8 Volume label
vbDirectory 16 Directory or folder
vbArchive 32 File has changed since last backup
vbAlias 64 On the Macintosh, identifier is an alias.

Only VbNormal, vbReadOnly, vbHidden, and vbAlias are available on the Macintosh.