FileIsReadOnly
Check whether a file is read-only.
Declaration
Source position: filutilh.inc line 195
function FileIsReadOnly(const FileName: UnicodeString) : Boolean;
function FileIsReadOnly(const FileName: RawByteString) : Boolean;
Description
FileIsReadOnly checks whether FileName exists in the file system and is a read-only file. If this is the case, the function returns True, otherwise False is returned.
See also
Name | Description |
---|---|
FileExists | Check whether a particular file exists in the file system. |