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