syntax:functions:combinepath
This is an old revision of the document!
combinepath(path1, path2)
Combines two paths into one, intelligently dealing with backslashes and relative paths.
Example | Result |
---|---|
combinepath("C:\data", "file.txt") | C:\data\file.txt |
combinepath("C:\data", "..\file.txt") | C:\file.txt |
Use cases: This function is convenient for using in projects executed on EasyMorph Server. In this case, the root folder can be defined as a task parameter, and the actual path calculated using combinepath
.
syntax/functions/combinepath.1514039599.txt.gz · Last modified: 2017/12/23 09:33 by dmitry