makepath

Creates a full path name.

makepath <strvar> <dir> <name>

Remarks

Creates the full path name from the directory name <dir> and file name <name>. The full path name is stored in the string variable <strvar>.
If necessary, '/' is inserted between <dir> and <name> ('\' is inserted if <dir> uses only '\').

Example

makepath path '/Users/user/teraterm' 'test.txt'
; path = "/Users/user/teraterm/test.txt"

See also