Starting Applications

<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Command Line >

Starting Applications

TCC offers several ways to start applications.

 

First, you can simply type the name of any application at the prompt. As long as the application's executable file is in one of the standard search directories (see below), TCC will find it and start it. If you type the full path name of the executable file at the prompt the application will be started even if it is not in one of the standard search directories.

 

TCC offers two methods to simplify and speed up access to your applications. One is to create an alias, for example:

 

alias myapp d:\apps\myapp.exe

 

You can also start an application by typing the name of a data file associated with the application. TCC will examine the file's extension and run the appropriate application, based on executable extensions or Windows file associations.

 

For additional flexibility, you can also start applications with the START command. START provides a number of switches to customize the way an application is started.

 

Searching for Applications

 

When you start an application without specifying a path, TCC searches for the application in the current directory, and then all directories on the PATH. TCC also searches the Windows and Windows system directories; see the PATH command for details. (If you do enter an explicit path, TCC will only look in the directory you specified.)

 

If you enter a file name with no extension, TCC will search each directory for a matching .EXE, .BTM, .BAT, or .CMD file (and .REX and/or .REXX if a REXX interpreter is loaded), then for a file matching a Windows file association or executable extension. That search order may be altered via the PathExt environment variable. If no such file is found, TCC will move on to the next directory in the search sequence.