Table of contents
TOC
Collapse the table of content
Expand the table of content

Dir, GetAttr, and SetAttr Constants

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

ConstantValueDescription
vbNormal0Normal (default for Dir and SetAttr )
vbReadOnly1Read-only
vbHidden2Hidden
vbSystem4System file
vbVolume8Volume label
vbDirectory16Directory or folder
vbArchive32File has changed since last backup
vbAlias64On the Macintosh, identifier is an alias.

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

© 2017 Microsoft