[Overview][Constants][Types][Classes][Procedures and functions][Index] |
FileIsExecutable - checks if AFileName refers to an executable file
Source position: fileutil.pas line 60
function FileIsExecutable( |
const AFilename: String |
):Boolean; |
AFilename |
|
Name of the file for checking |
Returns True if file is executable (always true in Windows if file exists)
FileIsExecutable - checks if AFileName refers to an executable file
On Windows systems, if the file exists it is regarded as executable.
On other systems (eg Unix etc), looks at file permissions to see whether execute flag is set
lazarus-ccr.sourceforge.net |