MakePathRelative(strPath)
Returns a path relative to the GSEOS project path. To get the GSEOS project path use the function GetProjectPath(). If strPath is not a subdirectory of the GSEOS project path an absolute path will be returned.
| strPath | The absolute path.
|
Returns
The path relative to the GSEOS project path.
Example
Make the path relative to the project path:
>>> Gseos.MakePathRelative('c:\\gseos6.0\\prj\\messenger\\xrs')
'xrs'