[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

FileIsReadOnly

Check whether a file is read-only.

Declaration

Source position: filutilh.inc line 191

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: May 14 2021