File attributes
The File Attribute constants are used in FindFirst, FindNext to determine what type of special file to search for in addition to normal files. These flags are also used in the SetFAttr and GetFAttr routines to set and retrieve attributes of files. For their definitions consult fileattributes.
Possible file attributes
Constant |
Description |
Value |
readonly |
Read-Only file attribute |
$01 |
hidden |
Hidden file attribute |
$02 |
sysfile |
System file attribute |
$04 |
volumeid |
Volumd ID file attribute |
$08 |
directory |
Directory file attribute |
$10 |
archive |
Archive file attribute |
$20 |
anyfile |
Match any file attribute |
$3F |