Run TUFLOW From a Batch-file: Difference between revisions

Content deleted Content added
Line 80:
 
Additional optional flags can be added to the base -c switch, in any combination, including:<br>
;* “a” (all);<br>
: The addition of the “a” flag (e.g. -ca) copies all files of the same name for all input files (ie. same name, but different extensions). This option is particularly useful if the .tab and other associated files of a GIS layer need to be archived or delivered.<br>
* “p” (path); and<br>
;* “ncf”“p” (nopath); check files)and<br>
: The addition of the “p” flag (e.g. -cp) allows the user to specify an alternate path in which to copy the model. Without this flag, the location defaults to the .tcf’s location. For example, specifying the following, will place a copy of the model into a folder C:\put_model_here:<br>
:: <tt>start "TUFLOW" "C:\TUFLOW\Releases\2016-03-AE\w64\TUFLOW_iSP_w64.exe" -cp "C:\put_model_here" "C:\TUFLOW\runs\M01_5m_003.tcf"</tt><br>
The addition of the “a” flag (e.g. -ca) copies all files of the same name for all input files (ie. same name, but different extensions). This option is particularly useful if the .tab and other associated files of a GIS layer need to be archived or delivered.<br>
;* “ncf” (no check files)<br>
The addition of the “p” flag (e.g. -cp) allows the user to specify an alternate path in which to copy the model. Without this flag, the location defaults to the .tcf’s location. For example, specifying the following, will place a copy of the model into a folder C:\put_model_here:<br>
: The addition of the “ncf” flag (e.g. -cncf) copies the essential input files and excludes all check files.<br>
<tt>start "TUFLOW" "C:\TUFLOW\Releases\2016-03-AE\w64\TUFLOW_iSP_w64.exe" -cp "C:\put_model_here" "C:\TUFLOW\runs\M01_5m_003.tcf"</tt><br>
The addition of the “ncf” flag (e.g. -cncf) copies the essential input files and excludes all check files.<br>
 
Note that these optional flags can be added in any combination to the base -c switch (e.g.