[Overview][Constants][Types][Classes][Procedures and functions][Index] |
ReadAllLinks - tries to find the file that is referred to by the symbolic link in FileName
Source position: fileutil.pas line 64
function ReadAllLinks( |
const Filename: String; |
ExceptionOnError: Boolean |
):String; |
Filename |
|
The string containing the symbolic link |
ExceptionOnError |
|
If True, an Exception is raised on encountering a file error |
Returns the full path and filename of the target file; empty if the file is not found, or the original FileName on Windows systems
ReadAllLinks - tries to find the file that is referred to by the symbolic link in FileName
No function in Windows systems
On Unix-like systems, finds the linked file and returns its full path and filename, or (if has been set True) an Exception is raised with appropriate error message
If an error is encountered on trying to read the link, provided ExceptionOnError has been set True an Exception is raised with appropriate error message. Otherwise an error results in the return of an empty string.
lazarus-ccr.sourceforge.net |