Previous: 4.24.1.2 File-mode constants To the Table of Contents Next: 4.24.1.3 DateTime type
4.24.1.2 File-mode constants Table of Contents 4.24.1.3 DateTime type

- 4.24.1.2 -
Table of Contents
4. Standard Units
4.24. DOS - MSDOS support unit
4.24.1.2 File-attribute constants


4.24.1.2 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: 4.24.1.2 File-mode constants To the Table of Contents Next: 4.24.1.3 DateTime type
4.24.1.2 File-mode constants Table of Contents 4.24.1.3 DateTime type

- 4.24.1.2 -