Run TUFLOW From PowerShell: Difference between revisions

Content deleted Content added
Line 40:
 
=Adding Switches=
To alter the behaviour of TUFLOW, switches can be used in the same way as a batch file (see <u>[[Run_TUFLOW_From_a_Batch-file#TUFLOW_switches_in_a_batch_file | Batch File Switches]]</u>). It is recommended that switches be contained with single quotations (' '). For example, running with the test switch -t:
<pre>
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe '-b' '-t' model_001.tcf
</pre>
 
When specifying a tcf file that includes scenarios and/or events within the filename use single quotations around the tcf file reference (' '). The specific scenarios and event references do not require quotations.
<pre>
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe '-b' '-x' '-s1' 5m '-s2' D01 'model_~s1~_~s2~_001.tcf'
</pre>
 
This example demonstrates how to package a copy of a project milestone model (including all possible scenario and event inputs) for archiving:
<pre>
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe '-b' '-pmAll' '-xf0' '-s1' 5m '-s2' D01 '-e1' Q100 '-e2' 2hr 'model_~s1~_~s2~_~e1~_~e2~_001.tcf'
</pre>