[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

sffFindProgramInPath

Search flags used to find a program file in a path on the current platform.

Declaration

Source position: fileutil.pas line 84

const sffFindProgramInPath = [sffDontSearchInBasePath, sffFile, sffExecutable];

Description

sffFindProgramInPath is a constant which contains the default TSearchFileInPathFlag enumeration values used to locate a program file on the current platform.

For the Windows platform, sffFindProgramInPath contains the following values:

[ sffDequoteSearchPath, sffFile, sffExecutable ]

For UNIX-like platforms, sffFindProgramInPath contains the following values:

[ sffDontSearchInBasePath, sffFile, sffExecutable ]

For all other platforms, sffFindProgramInPath contains the following values:

[ sffFile, sffExecutable ]

sffFindProgramInPath is used in the implementation of the FindDefaultExecutablePath routine.

See also

FindDefaultExecutablePath

  

Finds the default path to the named Executable file.


Version 4.0 Generated 2025-05-03 Home