Installation guide

Appendix E Using the Network Application Starter 363
The Appstart Command Line
The command line in the Program Item Properties dialog box for the
appstart utility is of this form:
appstart [alias [parms...] | [/s:~:\path\to\start] [/p:#] [drive:|UNC]
[\\server]\share\subdir\for\program.exe [parm1 parm2 parm3]
Command line parameters are defined as follows:
alias [parms...]
The alias represents a name of a section in the APPSTART.INI file
from which the command line is to be taken. Any additional
parameters (parms...) that come after the alias are passed to the value
of the alias. See “The APPSTART.INI File” section for more
information about using an alias.
/s:~:\path\to\start
The optional /s: parameter allows you to specify the starting directory
(\path\to\start). If the ~: is used at the front of the directory
specification, the network-drive letter selected will be substituted (if
the UNC parameter is not specified). If the /s: option is not specified,
the current Windows directory is used as the default.
For example, /s:C:\DATA starts the application in the \DATA
directory on the user’s C: drive, and /s:~:\SALES\JAN92\DATA
starts the application in the \SALES\JAN92\DATA directory on the
network drive.
Note
If the UNC parameter is specified, no network drive letter will
be substituted in the ~: placeholder, and the user’s Windows directory
is used as the working directory.
/p:#
The optional /p: parameter allows you to specify whether the user’s
path should be changed to include the remote drive or directory. A
value of 0 will not change the path; any other value will change the
path. Setting this parameter overrides the default value for
ChangePath in the APPSTART.INI file.