[Overview][Classes][Procedures and functions][Index] |
Gets the full path for the specified executable file.
Source position: utf8process.pp line 55
function FindFilenameOfCmd( |
ProgramFilename: string |
):string; |
ProgramFilename |
|
Program file examined in the method. |
Absolute path to the requested program file, or an empty string.
FindFilenameOfCmd is a String function used to get the full path for the executable file specified in the ProgramFilename argument. FindFilenameOfCmd calls the FilenameIsAbsolute routine to determine if a relative path in ProgramFilename needs to be resolved. FindDefaultExecutablePath is called to search the PATH environment when path information is not used in ProgramFilename.
The return value contains the absolute path and file name. If the file does not exist on the local file system, the return value is an empty string ('').
|
Determines if the specified value is an absolute file path (not a relative one). |
|
|
Removes whitespace and resolves special characters in the specified file name. |
|
|
Finds the default path to the named Executable file. |
Version 3.2 | Generated 2024-02-25 | Home |