Previous Topic

Next Topic

Command Line Switches

The following command line switches modify the behaviour of Accredo on startup.

These can be applied automatically to all users on start-up from a configuration file, see Startup Configuration - System.cfg file.

Note: If you pin a running version of Accredo to the Windows taskbar, any command line switches that were applied when running Accredo will be retained, and will be applied each time the shortcut is accessed.

Config file and command line switches

Switch

Description

/COMLOCKTIMEOUT=N

Determines how long a COM session will retry before cancelling.

n is expressed in milliseconds. Defaults to 43200000 (12 hours).

/NOSAVEDWINPOS

Starts without using saved window positions.

/NOBACKUP

Turns off the backup option in Accredo. Available when SSO is not activated.

/NOPRINTSCREEN

Turns off Accredo's print screen processing code.

/NORESTORE

Turns off the restore option in Accredo. Available when SSO is not activated.

/NOTAPICOM

Turn of initialising TAPI on COM startup.

/NOPRINTERCOM

Turn off initialising Printer on COM startup.

/PRINTDIAG=N

Printer diagnostics will be logged.

  • n = 0: No logging
  • n = 1: Significant messages logged
  • n = 2: All messages logged.

/SINGLE

Starts Accredo in single User mode.

/RANDOM

Starts Accredo in random access mode.

/DEFEAT

Turn on oplock defeating.

/TAPIDIAG=N

TAPI diagnostics will be logged.

  • n = 0: No logging
  • n = 1: Significant messages logged
  • n = 2: All messages logged.

/LOCKTIMEOUT=N

Determines how long a session will retry before cancelling.

n is expressed in milliseconds. Defaults to 43200000 (12 hours).

/SNAPSHOT

Set System Snapshot path.

/LINEEVENTSUMS

Sum document lines for Line Events.

Command line only switches

Switch

Description

/C COMPANYNAME

Starts Accredo and opens the specified Company.

/INTERACTIVE

Allows COM connections to this instance. Normal COM behaviour is to create a new instance. Can be used with the /Automation switch to allow ‘screen popping’ (for example, CRM systems or call centre applications). When used in this way, Accredo will use the normal user licence pool (not the COM pool) and will run as normal for the user but can be discovered by COM clients.

/M

Starts Accredo minimised. Note: if used with a command line script the application will only be minimised if no forms are opened by the script.

/O ScriptName [OutputFileName]

Runs a script from the command line with an optional output file for messages. Leaves the application open on completion.

/P SystemPath

Starts Accredo with the specified system path.

/S ScriptName [OutputFileName]

Runs a script from the command line with an optional output file for messages. Closes the application on completion.

/SYSRECO

Recover system tables.

/X Minutes

Forced exit when running a command line script after a specified amount of time.

See Also

Installation Options

Book Contents

Book Index