User's Guide


VisualAge NT Services Maintenance Utility command line parameters

The VisualAge NT Services Maintenance Utility (abtntsir.exe) supports the command line parameters listed below. All parameters are case insensitive and can be specified with a dash (-) or a forward slash (/) as the keyword identifier.

-install <serviceName>
Causes a VisualAge Smalltalk NT application to be installed as an NT service using the information provided for other command line parameters. If you specify this parameter, it must be the first parameter.

-remove <serviceName>
Causes a VisualAge NT service application to be uninstalled an an NT service. If you specify this parameter, it must be the first parameter.

-srvDisplayName <serviceDisplayName>
Provides a name to display in the Services list in the Windows NT Services window. If this parameter is not specified, the service name is displayed. If <serviceDisplayName> contains blanks or special characters, enclose the name in double quotation marks (").

-srvWorkingDir <serviceWorkingDirectory>
Specifies the working directory for the VisualAge NT service application. The working directory is where the image (<serviceName>.icx), the image configuration file (<serviceName>.ini), and other files needed by the application reside. If this parameter is not specified, the directory from which abtntsir.exe is run is used as the working directory.

-srvDebug
Enables debugging code which logs significant events to file abtntsrv.log. The log file is created in the directory where the main program starts.

When your service application is registered with the Windows NT Service Control Manager, you can use additional command line parameters. The generated parameters are--

Also, all other command line parameters (Smalltalk- or application-specific) specified in conjunction with -install (except for -install and -srvDisplayName) are appended to the generated parameters.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]