Batch File Not Running: Difference between revisions

Content deleted Content added
Line 5:
 
=Suggestions=
This is most likely caused by inadvertently adding a " "(space) before and/or after the "=" in the batch file<br>
There could be a number of reasons this occurs, check the following:
Wrong format:
* The correct .tcf file was started;
{| class="wikitable "
* The .tcf has been updated to point to the new geometry (.tgc) / boundary (.tbc) files;
|-
* Check files are being written (Write Check Files == command occurs in the .tcf / .ecf);
|
 
<tt>set TUFLOWEXE = C:\TUFLOW\Releases\2017-09-AC\w64\TUFLOW_iSP_w64.exe</tt>
Another good check is to import the messages layer, and view the TUFLOW log file (.tlf) for any checks or warnings. It is often useful to search the .tlf for an input file name, for example, if breakline changes are not seen, search the .tlf to ensure the input file e.g. "2d_zsh_M03_thalweg" is being read in.
|}
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 "=".