PathCombine Procedure

Makes a filesystem path by combining multiple path components with slashes. This function uses the slash character returned by PathSeparator, which is specific to the user's operating system. Trailing slashes in path components are ignored.
Declaration
function PathCombine(parts as List of String) as String

Parameters

Return value

String — Combined filesystem path.

Example

Code
' the output will depend on your operating system
print PathCombine(["C:", "Users\", "user", "Documents", "MyFile.txt"])
Output
C:\Users\user\Documents\MyFile.txt