fullPathName
- Details
- Last Updated on Friday, 14 June 2013 08:22
syntax
-
fullPathName(treeitem, dir_or_filename)
definition
fullPathName(treeitem, dir_or_filename) results in the full path name of the dir_or_filename argument in the context of the treeitem argument.
description
fullPathName() is a session-specific function.
Alwas use forward slashes(/) in folder names in stead of backward slashes.
applies to
Item treeitem can be any tree item.
Data item dir_or_filename with value type:
- string
since version
5.15
example
parameter<string> rootfile: expr = "fullPathName(., '%projDir%\cfg\test.dms')"
result: rootfile= 'C:/prj/test/cfg/test.dms' (if C:/prj/test is the projdir)