Sign in Join
FPDoc Onlineexperiment

fileattributes topic

In unit Dos

File attributes.

Declaration

pascal
fileattributes

Description

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
ConstantDescriptionValue
readonly

Read-Only file attribute.

$01
hidden

Hidden file attribute.

$02
sysfile

System file attribute.

$04
volumeid

Volume ID file attribute.

$08
directory

Directory file attribute.

$10
archive

Archive file attribute.

$20
anyfile

Match any file attribute.

$3F

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.