xHarbour Reference Documentation > Function Reference |
Completes a relative path to include the root directory.
TrueName( <cPath> ) --> cRoot
The function returns a character string containing a full path name beginning from the root directory. If <cPath> is invalid, the return value is a null string ("").
See also: | AfterAtNum(), Token() |
Category: | CT:DiskUtil , Directory functions |
Source: | ct\disk.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example shows the result of TrueName() PROCEDURE Main ? TrueName( "..\lib" ) // result: C:\xhb\lib ? TrueName( "..\..\dll\xhbdll.dll" ) // result: C:\xhb\dll\xhbdll.dll RETURN
http://www.xHarbour.com