Appendix: Configuration Tool Command Line - Intergraph Spoolgen - Installation & Upgrade - Hexagon PPM

Spoolgen Web API Installation and Configuration

Language
English
Product
Intergraph Spoolgen
Search by Category
Installation & Upgrade

The Spoolgen Web API configuration utility offers most of the same functionality through the command line. The same executable can be invoked by command line using the following format:

[exe folder]>start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe [argument(s)]

The start command with the /wait argument is needed to run the configuration tool in command line mode. Without it, the command window will continue and immediately prompt for the next line to be entered. By not waiting for the program to finish, this might cause issues with future user input.

Arguments Overview

Command

Argument

Description

Help

/?

Used to request usage information about the available commands

Encrypt

/e

Used to encrypt a file

Decrypt

/d

Used to decrypt a file

Password

/p

Used to supply an encryption password for a command

File

/f

Used to supply the file path for a command

Unattended

/u

Runs the configuration tool in unattended mode

Command Line

/r

Runs the configuration tool in command line mode

Help Command

Use /? to open a quick reference guide to the commands, arguments, and needed parameters for different actions.

Example

start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe /?

Encrypt Command

Use /e to encrypt a file.

Parameters

  • File, /f [file path], required, file path is the path to the file to encrypt.

  • Password, /p [password], optional, password is the encryption key to use.

    • If not given, then the password will be prompted in a character hidden input.

    • Remember this key to use later as the password for decrypting the file.

Examples

start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe /e /f C:\MyConfig.txt

start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe /e /f C:\MyConfig.txt /p MyPassword

Decrypt Command

Use /d to decrypt a file. The resulting decrypted file overwrites the encrypted file.

Parameters

  • File, /f [file path], required, file path is the path to the encrypted file to decrypt.

  • Password, /p [password], optional, password is the key that was used to encrypt.

    • If not given, then the password will be prompted in a character hidden input.

Examples

start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe /d /f C:\MyWebConfig.txt

start /wait Intergraph.Spoolgen.WebApi.ConfigurationTool.exe /d /f C:\MyWebConfig.txt /p MyPassword