contents.gifindex.gifprev1.gifnext1.gif

Communicating with the services

After the service has been installed, you can use the command "sc.exe" to communicate with it. The format for this command is:

sc [<server>] <command> <service name> [<options>]

If <server> is specified, it enables you to communicate with the service on the specified server. The server must be specified in this format:

\\servername

The <command> may be one of the following:

query -- displays the state of the service

start -- starts the service

stop -- stops the service

delete -- removes the service

The <service name> may be one of the following:

AcuConnect -- service name for "acuconnect.exe"

The <options> apply only to the "start" command for the AcuConnect service and are the same options you would use if you started AcuConnect from the command line. You begin the options by giving the full pathname of "acuconnect.exe". For example:

sc start acuconnect c:\acuconnect\bin\acuconnect.exe -start

If you do not specify any options, as shown here:

sc start acuconnect

then the default options are used:

\acuconnect\bin\acuconnect.exe -start -e \acuconnect\bin\acuconnect.log

These are the same default options that are used when the system boots.