Difference between revisions of "Batch File Not Running"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Suggestions= | =Suggestions= | ||
− | + | This is most likely caused by inadvertently adding a " "(space) before and/or after the "=" in the batch file<br> | |
− | + | Wrong format: | |
− | + | {| class="wikitable " | |
− | + | |- | |
− | + | | | |
− | + | <tt>set TUFLOWEXE = C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe</tt> | |
+ | |} | ||
+ | Correct format: | ||
+ | {| class="wikitable " | ||
+ | |- | ||
+ | | | ||
+ | <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 "=". |
Revision as of 09:50, 1 February 2018
Description
When running TUFLOW with a batch file, the command prompt shows error before running any model, or opens a new file Explorer.
Suggestions
This is most likely caused by inadvertently adding a " "(space) before and/or after the "=" in the batch file
Wrong format:
set TUFLOWEXE = C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe |
Correct format:
set TUFLOWEXE=C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe |
To solve this issue, please ensure that the batch file does't have " "(space) before and after the "=".