System.SysUtils.TSymLinkRec.Attr
Delphi
Attr: Integer;
C++
int Attr;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
field | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TSymLinkRec |
Description
Attr represents file attributes.
The Attr field stores information regarding the attributes of the file pointed by symlink.
The possible values for Attr are:
Value | Meaning |
---|---|
Identifies an invalid file. | |
Identifies read-only files or directories. | |
Identifies hidden files or directories. | |
Identifies system files or directories. | |
Deprecated | |
Identifies a directory. | |
Identifies Windows archived files. | |
Identifies normal files. | |
Identifies temporary files or directories. | |
Specifies only symbolic link file types. | |
Identifies a compressed file or directory. | |
Identifies an encrypted file or directory. | |
Reserved for system use. | |
Specifies any file type. |
Note: The faSymLink value is only available starting with Windows Vista.
Note: Various file attributes can be combined using logic operators and can be stored by the Attr field. For example:
mySymlink.Attr := SysUtils.faSysFile or SysUtils.faHidden or SysUtils.faReadOnly;