◄Dos Unit► ◄Contents► ◄Index► ◄Back► CONST ReadOnly = $01; { bit 0 } Hidden = $02; { bit 1 } SysFile = $04; { bit 2 } VolumeID = $08; { bit 3 } Directory = $10; { bit 4 } Archive = $20; { bit 5 } AnyFile = $3F; { mask for all files, sum of all attributes } Unit: Dos Context: FindFirst, GetFAttr, SetFAttr Description The constants for file attributes represent bit values in the attribute byte in the DOS directory. Use the constants as bit masks to specify DOS file attributes. Pass one or more constants to the procedures FindFirst and SetFAttr. Compare the attributes returned by GetFAttr with one or more constants. Combine the constants by using the bit-wise operators AND and OR, or the plus (+) operator.