Table of Standard Command-Line Options

From SecureCRT

A combination of session settings that specify a variety of colors associated with the terminal window, including foreground and background.

A session is a set of options that are assigned to a connection to a remote machine. These settings and options are saved under a session name and allow the user to have different preferences for different hosts.


 

Standard Option

Arguments

Description

/ARG

argument

Passes option(s) to SecureCRT scripts by way of Arguments scripting objects. More than one /ARG option can be used in a command.

/COLOR_SCHEME

scheme

Specifies an existing color scheme to be used for the session being started. When this switch is used, any changes to the session color scheme will be ignored. If a nonexistent scheme is specified, the session configuration color scheme will be used.

/F

folder pathname

Points to an alternate configuration folder location. If there is no configuration file in the alternate folder, SecureCRT will create one. Without this option, SecureCRT will use the configuration information in the default folder location.

/FIREWALL

firewall name

Connects session using specified firewall settings. Replaces /PROXY and /SOCKS options. The format of this command is as follows:

/FIREWALL=<name>

If the firewall name contains spaces, it should be enclosed by quotation marks.

If no firewall argument is specified, SecureCRT will use the firewall specified by the session being connected. If the session firewall is set to None, SecureCRT will use the firewall specified in the current global firewall settings. If a firewall is named in the command argument, SecureCRT will temporarily override the session’s firewall settings and use the firewall specified for the current session.

Note: When specifying a firewall on the same command line used to open multiple sessions, SecureCRT will apply the firewall to each of the sessions.

/LOG

filename

Specifies a log file.

/MAX_COLS

n

Specifies the maximum number of columns. The maximum value for n is 1024 and the minimum value is 132.

/N

tabname

Specifies the name to display on the tab.

/NOMENU

 

Hides the menu bar.

/NOTOOLBAR

 

Hides the toolbar.

/NOSAVE

 

No changes to settings will be saved.

/POS

x y

Specifies the initial position of the SecureCRT window, where x and y specify the upper left corner of the SecureCRT window in pixel coordinates.

/TITLEBAR

"Title to display"

Sets the text in the title bar to the string given as argument.

/SCRIPT

filename

Runs script contained in filename.

Examples of Command Line Usage:

Example:

To launch a new Telnet session, displaying the name "Houston, TX" on the tab, use the following:

/T /N "Houston, TX" /TELNET 192.168.0.6