Reports whether a file is read-only.
function FileIsReadOnly(const FileName: string): Boolean;
Boolean FileIsReadOnly(const AnsiString FileName);
SysUtils
FileIsReadOnly returns True if FileName can be found and opened, but the current process does not have permission to write to it.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|