Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

FileIsReadOnly

Check whether a file is read-only.

Declaration

Source position: filutilh.inc line 239

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

FileExists

  

Check whether a particular file exists in the file system.


Documentation generated on: Nov 22 2024