Batch File Not Running: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
=Description=
When running TUFLOW with a batch file and setting the TUFLOW executable path of other commands as variable, the command prompt shows error beforeand running any model,no orsimulations opensare aexecuted new(as fileshown Explorerbelow).<br>
[[File: Batch_File_Not_Running.png ]]
<br>
 
=Suggestions=
This 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 remove the " "(space) next to 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 remove the " "(space) next to the "=".