[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Determines if the specified file name is executable.
Source position: lazfileutils.pas line 51
function FileIsExecutable( |
const AFilename: string |
):Boolean; |
AFilename |
|
File name to examine. |
True if the file is executable on the platform or OS.
FileIsExecutable is a Boolean function used to determine if the specified file name is executable. For UNIX-like environments, a combination of FpStat, FPS_ISREG, and FpAccess are used to get the return value. For the Windows environment, the value from FileExistsUTF8 is used as the return value. In short, the function is not really useful in a Windows environment.
Version 3.2 | Generated 2024-02-25 | Home |