]> Creatis software - bbtk.git/blob - packages/std/bbs/boxes/bbPrependDataPath.bbs
*** empty log message ***
[bbtk.git] / packages / std / bbs / boxes / bbPrependDataPath.bbs
1 load std
2 define PrependDataPath
3   author "jpr@creatis.insa-lyon.fr"
4   description "Prepends the input string file 'last name' with the default DataPath found in bbtk_config_xml"
5
6   # For getting default Data Path
7   new Configuration c
8   
9   # For making a full path name, avoiding troubles with / or \
10   new MakeFileName mfn
11   
12   connect c.DataPath mfn.Directory
13   
14   # used in GUI mode (-g option)
15   input  In   mfn.File "Last Filename"
16   output Out mfn.Out   "Full path Filename"
17 endefine
18