Run TUFLOW From a Batch-file: Difference between revisions

Content deleted Content added
Line 96:
 
Note:
a. <li><tt>Use the full path to the .tcf file (this is the default if running from UltraEdit or using the right click approach).</tt></li>
b. <li><tt>Make sure there is sufficient disk space (no checks for sufficient disk space are made).</tt></li>
c. <li><tt>Output folders and some output files are created but these will be empty.</tt></li>
d. <li><tt>Any check folder(s) are created and check files written (these can be deleted if wishing to minimise the size of the folder).</tt></li>
e. <li><tt>The full path of the input files is reproduced to provide traceability and also handle inputs from other drives and URLs.</tt></li> Drive letters are replaced, for example, “C:” becomes a folder “C Drive”. URLs (denoted by “\\” or “//” at the beginning of the path) are replaced by a folder called “URL\”.</tt></li>
f. <li><tt>To run the copied .tcf file, it will be necessary to change any non-relative pathnames according to the point above. Alternatively you can share and then map, for example, the “D Drive” folder as “D:”.</tt></li>
a folder “C Drive”. URLs (denoted by “\\” or “//” at the beginning of the path) are replaced by a folder called “URL\”.
g. <li><tt>The Check MI Save Date will need to be set to WARNING or OFF in the .tcf file if the –ca option has not been used as the .tab and other files will not have been copied.</tt></li>
f. To run the copied .tcf file, it will be necessary to change any non-relative pathnames according to the point above. Alternatively you can share and then map, for example, the
h. <li><tt>There is a limit of 1,000 characters (including spaces) on pathnames. As very long pathnames can result due to the above approach, if the number of characters exceeds 1,000, problems may occur.</tt></li>
“D Drive” folder as “D:”.
i. <li><tt>The -c switch automatically invokes the -t (ie. the simulation does not commence, only the input data is tested/checked).</tt></li>
g. The Check MI Save Date will need to be set to WARNING or OFF in the .tcf file if the –ca option has not been used as the .tab and other files will not have been copied.
j. <li><tt>The -b option still applies if several models wish to be copied using a batch (.bat) file.</tt></li>
h. There is a limit of 1,000 characters (including spaces) on pathnames. As very long pathnames can result due to the above approach, if the number of characters exceeds 1,000, problems may occur.
i. The -c switch automatically invokes the -t (ie. the simulation does not commence, only the input data is tested/checked).
j. The -b option still applies if several models wish to be copied using a batch (.bat) file.
 
An example that copies all files (-ca switch) is:<br>