Windows NT and 2000 can set a process at different priority levels using the Task Manager. This is very useful for running TUFLOW in the “background” without slowing down other computer work you need to do. Windows NT offers three different priority levels and Windows 2000 five.
To initiate TUFLOW simulations from a batch file, precede each of the lines in the above example with “start "TUFLOW" /wait /low” as shown below. This initiates a separate DOS Window for each simulation on a low priority. You can also see which simulation is active by viewing the primary DOS Window. The /wait option is necessary to force the next simulation not to start until the current one is complete.
start "TUFLOW" /wait /low N:\WBMSoftware\Tuflow.exe -b –x MR_H99_C25_Q100.tcf
start "TUFLOW" /wait /low N:\WBMSoftware\Tuflow.exe -b –x MR_H99_C25_Q050.tcf
start "TUFLOW" /wait /low N:\WBMSoftware\Tuflow.exe -b –x MR_H99_C25_Q020.tcf
pause
The “TUFLOW” in the above is the title that appears in the DOS Window.
Dostları ilə paylaş: |