CLI

The CLI internal command can be used to:

 

Command Arguments:

Argument

Type

Possible values

Description

no argument

-

-

Opens an instance of the Command Line Interpreter window.

COMMANDAPPEND

/K/R

user defined

Appends the specified string to a currently displayed Command field. You can use external control codes in the string; for example, to append the names of currently selected files.

 

Example: CLI COMMANDAPPEND {f}

Command Field - Append.png

COMMANDSET

/K/R

user defined

Replaces the contents of a currently displayed Command toolbar field with the specified string.

 

Example: CLI COMMANDSET notepad.exe

Command Field - Set.png

DOSPROMPT

/O

(no value)

Opens a DOS prompt with the current directory set to the folder displayed in the source file display.

Example: CLI DOSPROMPT

 

 

selfolder

Uses the first selected sub-folder in the source display as the CD for the DOS prompt.

Example: CLI DOSPROMPT=selfolder

 

 

admin

On Vista and above, opens the DOS prompt elevated (after a UAC prompt).

Example: CLI DOSPROMPT=admin

 

 

noadmin

Prevents the DOS prompt from being elevated.

Example: CLI DOSPROMPT=noadmin

 

 

color=<color>

Sets the text and background colors of the DOS window. You can use this by itself, or in conjunction with the admin argument to override the default color when the prompt is elevated.

The <color> value is specified with two hexadecimal digits - the first corresponds to the background color, and the second to the foreground. The allowable colors are:

 

Supported color values

0 = Black

1 = Blue

2 = Green

3 = Aqua

4 = Red

5 = Purple

6 = Yellow

7 = White

8 = Gray

9 = Light Blue

A = Light Green

B = Light Aqua

C = Light Red

D = Light Purple

E = Light Yellow

F = Bright White

 

Note that you must enclose the entire value of the DOSPROMPT argument in quotes when using the color parameter (otherwise the embedded = sign will confuse the command parser).


Example:
 CLI DOSPROMPT="admin,color=97"

 

 

nocolor

Prevents the color of the DOS prompt from being set when elevated.

Example: CLI DOSPROMPT=admin,nocolor

QUICKCMD

/O/R

(no value)

Displays the find-as-you-type field in Command mode, which lets you enter an ad-hoc Opus command to execute in the current file display. This lets you bind a hotkey to bring the FAYT field up in the specific mode.

Example: CLI QUICKCMD

 

 

<command>

Displays the find-as-you-type field in Command mode, and initialises it with the specified command.

Example: CLI QUICKCMD Select

QUICKDOSCMD

/O/R

(no value)

Displays the find-as-you-type field in DOS Command mode, which lets you enter a command to execute in a DOS prompt.

Example: CLI QUICKDOSCMD

 

 

<command>

Displays the find-as-you-type field in DOS Command mode, and initialises it with the specified command.

Example: CLI QUICKDOSCMD dir

QUICKFILTER

/O/R

(no value)

Displays the find-as-you-type field in Filter mode, which lets you filter the current file list.

Example: CLI QUICKFILTER

 

 

<pattern>

Displays the find-as-you-type field in Filter mode, and initialises it with the specified pattern.

Example: CLI QUICKFILTER *.(jpg|png)

QUICKFIND

/O/R

(no value)

Displays the find-as-you-type field in Find mode, which lets you scroll to the first file matching the entered string.

Example: CLI QUICKFIND

 

 

<search string>

Displays the find-as-you-type field in Find mode and initialises it with the specified string.

Example: CLI QUICKFIND di

QUICKFTPCMD

/O/R

(no value)

Displays the find-as-you-type field in a special mode that lets you enter a command to send directly to a remote FTP server. This command only works when you are currently connected to an FTP site. You can view the results of your command in the FTP log.

Example: CLI QUICKFTPCMD

 

 

<command>

Displays the find-as-you-type field in FTP command mode, and initialises it with the specified command.

Example: CLI QUICKFTPCMD chmod * 755

QUICKGO

/O/R

(no value)

Displays the find-as-you-type field in a special mode ("go" mode) that lets you navigate to another folder in the current file display.

Example: CLI QUICKGO

 

 

<path>

Displays the find-as-you-type field in "go" mode, and initialises it with the specified path.

Example: CLI QUICKGO C:\Program Files

QUICKRANGE

/O/R

(no value)

Displays the find-as-you-type field in Range mode, which lets you select files by index (or by a range of indices). This only works when the Index column has been added to the file display.

Example: CLI QUICKRANGE

 

 

<range>

Displays the find-as-you-type field in Range mode, and initialises it with the specified range string.

Example: CLI QUICKRANGE 1-10,20-30

QUICKSEARCH

/O/R

(no value)

Displays the find-as-you-type field in Search mode, which lets you initiate a Windows Search of the current folder.

Example: CLI QUICKSEARCH

 

 

<query term>

Displays the find-as-you-type field in Search mode, and initialises it with the specified query term.

Example: CLI QUICKSEARCH author:davidson

QUICKSELECT

/O/R

(no value)

Displays the find-as-you-type field in Select mode, which lets you select files in the current folder by wildcard pattern.

Example: CLI QUICKSELECT

 

 

<pattern>

Displays the find-as-you-type field in Select mode and initialises it with the specified pattern.

Example: CLI QUICKSELECT *.doc

QUICKTABS

/O/R

(no value)

Displays the find-as-you-type field in Tabs mode, which lets you search and switch folder tabs.

Example: CLI QUICKTABS

 

 

<pattern>

Displays the find-as-you-type field in Tabs mode and initialises it with the specified text.

Example: CLI QUICKTABS docu

SCRIPTMODE

/O

(no value)

Displays the CLI in Script Mode, which provides a simple way to test scripts before adding them to buttons.

Example: CLI SCRIPTMODE

 

 

<language>

Displays the CLI in Script Mode with the language type set to the specified language. If you don't specify a language the CLI will remember the previous language used.

Example: CLI SCRIPTMODE=jscript