System.IOUtils.TPath.GetFullPath
Delphi
class function GetFullPath(const Path: string): string; static;
C++
static System::UnicodeString __fastcall GetFullPath(const System::UnicodeString Path);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Returns the absolute path for a given path.
GetFullPath returns the full, absolute path for a given relative path. If the given path is absolute, GetFullPath simply returns it; otherwise, GetFullPath uses the current working directory as a root for the given Path. The following table lists the parameters expected by this method:
Name | Meaning |
---|---|
Path |
The relative path |
Note: GetFullPath raises an exception if the given path contains invalid characters.
See Also
- _fullpath, _wfullpath (C++)