Batch File Not Running: Difference between revisions

Content deleted Content added
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1:
=Description=
When running TUFLOW with a batch file, and setting the commandTUFLOW promptexecutable showspath erroror beforeother runningcommands anyas modelvariable, orthe console window produces an error message and no simulations opensare aexecuted new(as fileshown Explorerbelow).<br>
[[File: Batch_File_Not_Running.png ]]
<br>
 
=Suggestions=
ThisCheck the path to the TUFLOW executable have been entered correctly. If it has, the error is most likely caused by inadvertently addingusing a " "(space) before and/or after the "=" in the batch file after the set variable command<br>.
WrongFor example (incorrect format):
{| class="wikitable "
|-
Line 12 ⟶ 11:
<tt>set TUFLOWEXE = C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe</tt>
|}
To solve this issue, please ensure thatremove the batch file does't have " "(space) before andnext afterto the "=".<br>
Correct format:
For example (correct format):
{| class="wikitable "
|-
Line 18:
<tt>set TUFLOWEXE=C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe</tt>
|}
 
To solve this issue, please ensure that the batch file does't have " "(space) before and after the "=".
 
{{Tips Navigation
|uplink=[[Tutorial_Module06_Archive| Back to Tutorial Module06 Archive]]
}}