Previous: File-mode constants To the Table of Content Next: DateTime type

- 4.24.1.3 -
Standard Units
Dos Unit
Dos Unit Constants and Variables

File-attribute constants

Targets: MS-DOS, OS/2, Win32

Dos Unit, WinDos Unit

These constants test, set, and clear file-attribute bits in connection with the GetFAttr, SetFAttr, FindFirst, and FindNext procedures.

These constants are additive. The faAnyFile constant is the sum of all attributes.
 Constant  Value 
 ReadOnly $01
 Hidden $02
 SysFile $04
 VolumeID $08
 Directory $10
 Archive $20
 AnyFile $3F
 Win32 Constant  Value 
 faReadOnly WINDOWS.FILE_ATTRIBUTE_READONLY 
 faHidden WINDOWS.FILE_ATTRIBUTE_HIDDEN
 faSysFile WINDOWS.FILE_ATTRIBUTE_SYSTEM
 faVolumeID $08
 faDirectory WINDOWS.FILE_ATTRIBUTE_DIRECTORY 
 faArchive WINDOWS.FILE_ATTRIBUTE_ARCHIVE
 faAnyFile WINDOWS.FILE_ATTRIBUTE_NORMAL



Previous: File-mode constants To the Table of Content Next: DateTime type
File-mode constants Table of Content DateTime type

- 4.24.1.3 -