| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Determine if the specified file name is executable
Source position: lazfileutils.pas line 50
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 enviroment, the value fromFileExistsUTF8 is used as the return value. In short, the function is not really useful in a Windows environment.
| lazarus-ccr.sourceforge.net |