Difference between revisions of "Batch File Not Running"

From Tuflow
Jump to navigation Jump to search
 
Line 1: Line 1:
 
=Description=
 
=Description=
When running TUFLOW with a batch file and setting the TUFLOW executable path or other commands as variable, the command prompt produces an error message and no simulations are executed (as shown below).<br>
+
When running TUFLOW with a batch file and setting the TUFLOW executable path or other commands as variable, the console window produces an error message and no simulations are executed (as shown below).<br>
 
[[File: Batch_File_Not_Running.png ]]
 
[[File: Batch_File_Not_Running.png ]]
 
<br>
 
<br>

Latest revision as of 16:15, 18 April 2025

Description

When running TUFLOW with a batch file and setting the TUFLOW executable path or other commands as variable, the console window produces an error message and no simulations are executed (as shown below).
Batch File Not Running.png

Suggestions

Check the path to the TUFLOW executable have been entered correctly. If it has, the error is most likely caused by using a " "(space) before and/or after the "=" in the batch file after the set variable command
For example (incorrect format):

set TUFLOWEXE = C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe

To solve this issue, please remove the " "(space) next to the "=".
For example (correct format):

set TUFLOWEXE=C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe