startupcmd.str


The startupcmd.str file is a piece of Rexx code that describes to WiseMachine how an application affects a workstation's startup.cmd. This is not to be confused with the startup folder of a workstation - that's handled by the desktop creation Rexx stub. For instance, the startupcmd.str for the Relish application looks like this:


/* */
/* All tokens must be separated by single spaces */
/* Sample line: startup.i = "start "BootDrive"\Apps\Relish\Relish.exe" */

startup.0 = 999
startup.i = "REM Begin Relish"
startup.i = BootDrive"\Apps\Relish\StartNow"
startup.i = "REM End Relish"


The value of BootDrive will be replaced with the proper value when the user deploys this application to a particular drive in his computer.

When you define a new application with WiseApp, if you specified that this application will need to modify the workstation's startup.cmd, a default startupcmd.str file will get created as \TVoice\Wiseprog\WiseManager\Name\Name.str where Name is the name of the application. This is a typical default startupcmd.str file:


/* */
/* All tokens must be separated by single spaces */

startup.0 = 999
startup.i = "rem Begin Name"
startup.i = "rem End Name"


After defining a new application, you must manually edit this file to include appropriate entries for a particular program (if that program needs to modify the workstation's startup.cmd at all). Please note that the \Apps is necessary for WiseMachine's bigger brother WiseManager to work properly. For locally booted station, the string "\Apps" is ignored by WiseMachine.

WiseMachine assumes a "sectionalized" approach to startup.cmd modifications. All entries for a particular application must go between the "rem Begin Name" and "rem End Name" marker lines - where Name would be the name assigned to this application (see the Relish example above).

Likewise, a network applications such as invoking PolyPM client program looks like this:


/* */
/* All tokens must be separated by single spaces */

startup.0 = 999
startup.i = "REM Begin RSM"
startup.i = "start /min "AppServer("ppm641a")"\l641a.exe"
startup.i = "REM End RSM"


The "AppServer("ppm641a")" is an internal WiseManager function that locates the application server for the application PPM641A for this particular workstation.