Previous Next

Combines one or more folderpath expressions with path to form a new folderpath or filepath.


path:Combine( folderpath [, .. ], path )

This function is guaranteed to combine expressions in such a way that the result has exactly 1 backslash character between each step in the folderpath and the next.



This example assigns to a variable called "destdir" the (existing or virtual) \app subdirectory of the working directory.

<pc:assign-string-default workingdir="{directories:Get()}"/>
  destdir="{path:Combine( $workingdir, 'app' )}"/>