Run TUFLOW From a Batch-file: Difference between revisions
Content deleted Content added
No edit summary |
Stephen.kime (talk | contribs) |
||
Line 132:
<pre>Start "TUFLOW" /wait "TUFLOW" "C:\TUFLOW\Releases\2016-03-AE\w64\TUFLOW_iSP_w64.exe" -b -e1 Q050 -e2 24hr -s1 2m -s2 Dev "C:\TUFLOW\Tutorial_Wiki\TUFLOW\runs\M01_~e1~_~e2~_~s1~_s2~_003.tcf"
Start "TUFLOW" /wait "TUFLOW" "C:\TUFLOW\Releases\2016-03-AE\w64\TUFLOW_iSP_w64.exe" -b -e1 Q100 -e2 24hr -s1 2m -s2 Dev "C:\TUFLOW\Tutorial_Wiki\TUFLOW\runs\M01_~e1~_~e2~_~s1~_s2~_003.tcf"</pre>
Please be aware that the % symbol is a special character in a batch file. If the % symbol is used within a wildcard, it will not be read when searching for that wildcard in TUFLOW.
For example if the event wildcard;
-e 10% is used,
TUFLOW will search for '10' instead of '10%' as the event wildcard.
It is recommended that modellers avoid the use of a % symbol in any wildcard values. The string 'pct' is a great alternative for the % symbol.
For example, using:
-e 10pct
Instead of:
-e 10%
Alternatively using the % symbol twice in a row as shown below should also result in the desired wildcard value.
-e 10%% (TUFLOW will search for 10%)
==Advanced Batch Files==
| |||