RUNNING TRAFFIX IN BATCH MODE

TRAFFIX for windows can be run in batch mode from the Windows run command line or from a shortcut’s target command line. The command line syntax is as follows:

TRAFFIXW.EXE [/x <path> &lt;scenario> @&lt;script file>]

/x

Option to tell TRAFFIX to run a forecast. Otherwise the database is just loaded.

<path>

Path to the TRAFFIX database. If the path includes spaces, put it in quotes.

<scenario>

Scenario name - only used if the /x option is used. If the scenario name includes spaces, put it in quotes. To run the forecast for all of the scenarios, use ALL for this parameter.

<script file>

The name of a script file (including path) containing commands to run one or more databases in batch mode. If the path includes spaces, put this parameter in quotes. Each line in the script file needs to have the <path> &lt;scenario> parameters using the format described above. If the @<script file> parameter is used, the /x <path> &lt;scenario> parameters aren’t needed.

Table 7 TRAFFIX Command Line Script Syntax

Example: Use a script file (named Myscript.scr in the c:\Projects directory) to first run the forecast for the Revised Distribution scenario of the Sample.tfx database (in the c:\Traffixw directory), then run the forecast for the Bkgrd+Proj scenario of the Northgate Center.tfx database (in the c:\Traffixw\Data directory).

Batch command line:

Traffixw.exe @c:\projects\Myscript.scr

Script file contents (Myscript.scr):

c:\Traffixw\Sample.tfx “Revised Distribution”

“c:\Traffixw\Data\Northgate Center.tfx” Bkgrd+Proj