NKLS Parameters

The NKLS command line interface accepts the parameters as listed in the table below.

 

 

Parameter

Description

/HIDE

Hide the NKLS user interface.

/SILENT

Run NKLS in silent mode. All error messages will be written to the History file. Note: this parameter is automatically set when NKLS runs as a service.

"/CONFIG <File Path>"

 

Specify the NKLS configuration file.

<FilePath> = Full path and file name of the file.

"/INSTALL <KeyName/ServiceName>"

Install NKLS to running at startup or as a service (as specified by the parameter /STARTUP or /SERVICE; if not specified, the default is /STARTUP).

<KeyName/ServiceName> = The name of the NKLS service. If not specified, the default name is NetKey40EK.

"/UNINSTALL <KeyName/ServiceName>"

Uninstall NKLS from running at startup or as a service (as specified by the parameter /STARTUP or /SERVICE; if not specified, the default is /STARTUP).

<KeyName/ServiceName> = The name of the NKLS service. If not specified, the default name is NetKey40EK.

/STARTUP

Set NKLS to add to the Windows startup registry. This parameter must be used with /INSTALL or /UNINSTALL.

/SERVICE

Set NKLS to run as a service process. This parameter must be used with /INSTALL or /UNINSTALL.

 

The following is the NKLS command line usage.

 

Usage: NKLS40EK <Parameters>

Examples

 

To run NKLS with the default configuration file (NKLS.INI):

NKLS40EK

 

To run NKLS with the specified configuration file, and hide the user interface:

NKLS40EK /HIDE "/CONFIG C:\MyApplication\NKLS1.INI"

 

To install NKLS to run at startup:

NKLS40EK /STARTUP /INSTALL

NKLS40EK /STARTUP "/INSTALL MyService"

 

To install NKLS to run at startup with the specified configuration file:

NKLS40EK /STARTUP /INSTALL "/CONFIG C:\MyApplication\NKLS1.INI"

NKLS40EK /STARTUP "/INSTALL MyService" "/CONFIG C:\MyApplication\NKLS1.INI"

 

To uninstall NKLS from the startup:

NKLS40EK /STARTUP /UNINSTALL

NKLS40EK /STARTUP "/UNINSTALL MyService"

 

To install NKLS to run as a service:

NKLS40EK /SERVICE /INSTALL

NKLS40EK /SERVICE "/INSTALL MyService"

 

To install NKLS to run as a service with the specified configuration file:

NKLS40EK /SERVICE /INSTALL "/CONFIG C:\MyApplication\NKLS1.INI"

NKLS40EK /SERVICE "/INSTALL MyService" "/CONFIG C:\MyApplication\NKLS1.INI"

 

To uninstall NKLS from the service:

NKLS40EK /SERVICE /UNINSTALL

NKLS40EK /SERVICE "/UNINSTALL MyService"