User Tools

Site Tools


syntax:functions:combinepath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
syntax:functions:combinepath [2017/12/23 09:33] – created dmitrysyntax:functions:combinepath [2018/08/13 15:43] dmitry
Line 7: Line 7:
 | combinepath("C:\data", "file.txt" |C:\data\file.txt | | combinepath("C:\data", "file.txt" |C:\data\file.txt |
 | combinepath("C:\data", "..\file.txt" |C:\file.txt | | combinepath("C:\data", "..\file.txt" |C:\file.txt |
 +
 +If the both arguments contain relative paths, then the resulting path will be converted into an absolute path in the current directory.
  
 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''. 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.txt · Last modified: 2021/09/08 14:34 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki