Management Console Command Line Interface

The Management Console can also activate a number of options via commandline so you can by pass the main menu and perform various tasks directly through the management interface.

The syntax is the key word, plus in some cases additional parameters you can pass.

For example:

DO Console WITH "SQLCONFIG"
DO CONSOLE WITH "VIRTUAL","wconnect","D:\web\wconnect"
DO CONSOLE WITH "AUTOLOGON"

The following useful utility functions are available through the console:

SCRIPTMAP
Allows you to create a scriptmap for the appropriate Web Server. Run without additional parameters to get a list of parameters and options or with "UI" to get prompted for options.

VIRTUAL
Creates a virtual directory. Run without additional parameters to get a list of parameters and options or with "UI" to get prompted for options.

DCOMIMPERSONATION
Sets the impersonation for a COM server

CONSOLE "DCOMIMPERSONATION","<ProgId>","<UserName>","<password>"

Note that the username is not provided for accounts like Interactive or SYSTEM. If username is omitted Interactive is used.

Note:
This option requires that the DCOMPERMISSIONS.EXE file from the Tools directory is either in the current path or the TOOLS directory.

DCOMPERMISSION
Sets a single DCOM permission for a COM server for a single account you specify.

CONSOLE "DCOMPERMISSION","<ProgId>","<Username>"

Username can be either a System username (SYSTEM,IUSR_RASNOTEBOOK), Group (Administrators) or normal username.

Note:
This option requires that the DCOMPERMISSIONS.EXE file from the Tools directory

AUTOLOGON
Creates an Autologon entry in the Windows Registry. Warning: Use this feature with care as it can be a potential security problem to have your Windows system automatically log on.

INSTALLPRINTER
Allows you to install one of Windows' default printer drivers automatically. You can use this feature to easily install the "Apple Color LW 12/660 PS" Postscript driver that can be used with the wwDistiller and wwGhostscript classes to generate PDF output. This option will default to the above printer and allow you to type in a known Windows printer name.

You can optionally pass in the name of a driver:

CONSOLE.EXE "INSTALLPRINTER" ""Apple Color LW 12/660 PS"

GOURL
Runs any URL or Windows file association and displays the content in the Web browser.

The following options access the various user interface wizards and helpers directly.

MESSAGEREADER
Starts the Message Reader application. Assumes you're running out of the Web Connection root folder.

SQLCONFIG
Starts the SQL Configuration Wizard

CONFIGURE
Starts the Site Configuration Wizard

SETUP
Starts the new Web Connection Setup routine.

NEWPROJECT
Starts the new project Wizard.

NEWPROCESS
Starts the New Process Wizard



  Last Updated: 3/21/2005 | © West Wind Technologies, 2008