Abstracted from http://www.lesbell.com.au/rexxobj.html
Slight formatting, but all Copyright 1995 Les Bell and Associates Pty Ltd

[Setup string for syscreateobject() is]
... a long string, that takes the form of "key=value;key=value;key=value".
Here are the possible key-value pairs for the WPProgram class (i.e. program
reference objects):

Keyname            Value     Description
ASSOCFILTER        filters   Sets the filename filter for files associated
                             with this program. Multiple filters are separated
                             by commas.
ASSOCTYPE          type      Sets the types of files associated with this
                             program. Multiple types are separated by commas.
EXENAME            filename  Sets the name of the program.
MAXIMIZED          YES       The program window is maximized upon startup.
                   NO        The program window is restored to normal upon
                             startup. This is the default setting.
MINIMIZED          YES       The program window is mimized upon startup.
                   NO        The program window is restored to normal upon
                             startup. This is the default setting.
PROGTYPE FULLSCREEN          Sets the session type to OS/2 full-screen mode.
         PM                  Sets the session type to PM.
         PROG_30_STD         Sets the session type to standard compatibility
                             full screen mode.
         PROG_31_ENH         Sets the session type to enhanced compatibility
                             full screen mode.
         PROG_31_ ENHSEAMLESSCOMMON   Sets the session type to WIN-OS/2 window
                     in the WIN-OS/2 enhanced compatibility common session.
         PROG_31_ ENHSEAMLESSVDM      Sets the session type to WIN-OS/2 window
                     in a separate session enhanced compatibility mode.
         PROG_31_STD         Sets the session type to standard compatibility
                             full screen mode.
         PROG_31_STD SEAMLESSCOMMON   Sets the session type to WIN-OS/2 window
                     in the WIN-OS/2 standard compatibility common session.
         PROG_31_STD SEAMLESSVDM      Sets the session type to WIN-OS/2 window
                     in a separate session standard compatibility mode.
         SEPARATEWIN         Sets the session type to WIN-OS/2 window running
                     in a separate VDM.
         VDM                 Sets the session type to DOS full screen.
         WIN                 Sets the session type to WIN-OS/2 full screen.
         WINDOWABLEVIO       Sets the session type to OS/2 windowed.
         WINDOWEDVDM         Sets the session type to DOS windowed.
         WINDOWEDWIN         Sets the session type to WIN-OS/2 window.
         NOAUTOCLOSE      YES  Leave the window open when the program
                               terminates.
                          NO   Closes the window when the program terminates.
                               This is the default setting.
PARAMETERS params   Sets the parameters list, which may include
                             substitution characters.
SET                xxx=vvv   xxx is an environment variable. vvv sets the
        value of the environment variable. This is also used to specify DOS
        settings on DOS and Windows programs. Each variable/value pair must
        be separated by a NULL (\0), and the entire string must be terminated
        by two NULLs (\0\0). For example: DOSDEVICE=value\0env=value\0\0.
STARTUPDIR       pathname  Sets the working directory.

Example:

setup_string="PROGTYPE=VDM;EXENAME=C:\EDIT.EXE;
              ASSOCFILTER=*.DOC,*.TXT;ASSOCTYPE=Plain Text;
              SET DOS_DEVICE=1.SYS,2.SYS;
              SET PATH=C:\FRED"

