Previous: 4.74.1.2. File-mode constants To the Table of Contents Next: 4.74.1.4. TDateTime type
4.74.1.2. File-mode constants Table of Contents 4.74.1.4. TDateTime type

- 4.74.1.3. -
Table of Contents
4. Standard Units
4.74. WinDos - MS-DOS function emulation for OS/2 and Win32
4.74.1. WinDos Unit Constants and Variables
4.74.1.3. File-attribute constants


4.74.1.3. 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.74.1.2. File-mode constants To the Table of Contents Next: 4.74.1.4. TDateTime type
4.74.1.2. File-mode constants Table of Contents 4.74.1.4. TDateTime type

- 4.74.1.3. -