getfileattrib
Getting file attributes.
func uint getfileattrib (
str name
)
str name
)
Parameters
name | Filename. |
Return value
The function returns file attributes. It returns 0xFFFFFFFF in case of an error.
$FILE_ATTRIBUTE_READONLY | Read-only. |
$FILE_ATTRIBUTE_HIDDEN | Hidden. |
$FILE_ATTRIBUTE_SYSTEM | System. |
$FILE_ATTRIBUTE_DIRECTORY | Directory. |
$FILE_ATTRIBUTE_ARCHIVE | Archive. |
$FILE_ATTRIBUTE_NORMAL | Normal. |
$FILE_ATTRIBUTE_TEMPORARY | Temporary. |
$FILE_ATTRIBUTE_COMPRESSED | Compressed. |
Related links | Source |