Set the attributes of a file.
Source position: filutilh.inc line 230
function FileSetAttr( |
const Filename: UnicodeString; |
Attr: LongInt |
):LongInt; |
const Filename: RawByteString; |
Attr: LongInt |
):LongInt; |
FileSetAttr sets the attributes of FileName to Attr. If the function was successful, 0 is returned, -1 otherwise. Attr can be set to an OR-ed combination of the predefined faXXX constants.
This function is not implemented on Unixes.
On error, -1 is returned (always on Unixes).
|
Return attributes of a file. |
|
|
Return the file time of an opened file. |
|
|
Set the date of a file. |