Run TUFLOW From PowerShell: Difference between revisions

Content deleted Content added
 
(3 intermediate revisions by the same user not shown)
Line 20:
 
A Windows batch file can also be used to execute a PowerShell script, avoiding the need to work in the PowerShell command line.
* Create a text file with a *.bat file extension, saved in your TUFLOW\runs folder (alongside your TCF)
* Add the following syntax to the batch file: "@powershell(if -Fileyour ps1 file uses a different name, specify it instead of .\run_TUFLOW_simulations.ps1"):
<pre>
@powershell -File .\run_TUFLOW_simulations.ps1
</pre>
* Double left mouse click the batch file from Window Explorer to execute the batch file that calls the PowerShell script
 
 
<br>
 
=Simple Example=