Command Line Options
Previous Topic  Next Topic 

The Telecom Engine front-end front-end application (TEX.EXE) should be started from the command line.    The format required for running the TEX.EXE is as follows:


TEX [options] [List of applications]


The optional [options] can be one of the following start-up options:



Option

Description

-n

Prevent the default back-end libraries from loading at startup

-r<libary list>

Load the following semi-colon separated list of  back-end libaries.



The optional [List of applications] is the list of .TEX files to load at start-up (each one separated by a space).    Note that the TEX.EXE can be run without loading any byte-code applications for execution if required.



Thus the simplest form of the command line is as follows:


tex


This will load the default list of back-end libaries and start the Telecom Engine Schedule thread, but no byte-code (.TEX) applications will be loaded for execution (byte code applications can then be loaded from the Tools Tab).


Below is an example where the default libaries specified by the Libary Configuration Tab are prevented from loading by using the -n option, and a new set specified by the -r option are loaded instead.     This will also attempt to load the byte-code application TEST1.TEX and start executing it:


tex -n -rcxtermx;cxtask;cxsys;cxstring TEST1


If necessary, more than one byte code application can be loaded upon start-up by specifying more than one file on the command line (separated by spaces):


tex TEST1 TEST2 TEST3


The above command line will load the default libaries from the Registry and attempt to load and execute the three byte-code (.TEX) files TEST1, TEST2 and TEST3.