Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Command-line (external application)

This article details the many settings and options available for Command-line (external application) session entries in Remote Desktop Manager.

On macOS and Linux, the application always opens in an external window, and the Window selector setting is not supported.

SETTINGS

DESCRIPTION

Name

The name of the entry.

Folder

The folder where the entry is located.

Display

How the entry opens:

  • External — Opens the application in its own window.

  • Embedded (tabbed) — Opens the application in a tab of the main window.

  • Undocked — Opens the tab in a separate window that can be moved and resized freely.

On macOS and Linux, only External is offered and the list is locked. With External or Undocked, a list next to Display selects the virtual desktop where the window opens. With Undocked, another list selects the monitor.

Host

Where the host of the entry comes from. When the host comes from a linked or inherited host, the Host field of the Host and credentials tab is disabled.

Credentials

How the credentials of the entry are provided. Select a credential mode from the list. When the credentials do not come from the entry itself, the Username, Domain, and Password fields of the Host and credentials tab are disabled.

General

SETTINGS
DESCRIPTION

Run

The application to start. Enter its path or click the browse button to select it. Required.

Window selector

Select a window that is already open to fill in the Run field with its application.

Arguments

The arguments passed to the application.

Assign file icon to session

Click this link to use the icon of the application file set in the Run field as the icon of the entry.

Process name

The name of the process started by the application. Click Set default process name to use the file name of the application. Use the default process name for the application to be listed in the opened sessions.

Embedded wait time (ms)

The time to wait before embedding the application window, from 0 to 50000 milliseconds.

Change default working directory

Start the application in another working directory. Select the folder in the field below the checkbox.

Host and credentials

SETTINGS
DESCRIPTION

Host

The host passed to the application. Enter a host name or IP address, or choose one from the list.

Username

The username passed to the application.

Domain

The domain of the username.

Password

The password passed to the application. Unavailable when the Disable password saving in vaults system setting is enabled.

Use the $USERNAME$, $DOMAIN$, $HOST$, and $PASSWORD$ variables in your parameters to insert these values.

Parameters

SETTINGS
DESCRIPTION

Parameter name

The name of the parameter. Each row shows the token to use in the Run field, such as {1} for the first parameter. Click the name to rename the parameter in the Rename window. The list starts with five parameters. Click Add to add a parameter, or Delete to remove the last added parameter. The delete button of a row, shown when its Type is not Unused, clears the value of the parameter, sets its Type to Unused and restores its default name.

Type

The type of the parameter:

  • Unused

  • Text

  • Secured

  • Env. variable

Default value

The value of the parameter. A Secured parameter hides its value. Unavailable when the Type is Unused.

Prompt for parameters on open

Ask for the parameter values each time the entry opens.

Example in Run field

Shows how to use the parameter tokens in the Run field. Click View command to display the command with the parameter values inserted. The button is disabled when a Secured parameter has a value and the user is not allowed to view sensitive information.

Run as

SETTINGS
DESCRIPTION

Run as administrator

Start the application with administrator privileges. Disables the credential settings below, including Net only.

Run as mode

How the application is started under other credentials:

  • Default (ShellExecute)

  • GSudo

Credentials

The credentials used to start the application:

  • None

  • Current session

  • Username and password

  • Linked (vault)

  • My personal credentials

  • Find by name (user vault) — Offered when the data source supports the user vault and the entry is not in the user vault.

  • My privileged account

  • Linked (user vault) — Offered when the entry is in the user vault.

With My personal credentials and My privileged account, click the edit button to modify them.

Username

The username used to start the application. Available with Username and password.

Domain

The domain of the username. Available with Username and password.

Password

The password used to start the application. Available with Username and password.

Always ask for password

Ask for the password each time the entry opens. Disables the Password field. Available with Username and password.

Credential

The credential entry to use. Available with Linked (vault) or Linked (user vault).

Entry name

The name of the credential entry to find in the user vault. Available with Find by name (user vault).

Net only

Use the credentials for network access only. Available when Credentials is not None.

Advanced

SETTINGS
DESCRIPTION

Execution mode

How the application runs:

  • Default

  • Keep command-line open

  • Capture output

With Capture output, a second list sets where the output goes: Default or To file. With To file, enter the path of the output file. The path is required.

Wait for the application to exit (Remote Desktop Manager will be unavailable)

Wait until the application closes before Remote Desktop Manager can be used again. With Capture output, this option is selected and cannot be cleared.

Use Shell Execute

Start the application through the operating system shell. Available when the Credentials of the Run as tab is None.

Force "cmd /c" (advanced)

Start the application through cmd /c. Available when the Credentials of the Run as tab is not None.

Last updated

Was this helpful?