Starting Altap Salamander with Parameters

Altap Salamander supports command line parameters specifying directories to be opened, configuration file to be imported, etc.

Syntax

SALAMAND.EXE [-L directory] [-R directory] [-A directory] [-C reg_file] [-I icon_index] [-T title_prefix] [-O] [-P panel_index]

Parameter Description
-L pathSpecifies the path for the left panel. It works with full or relative disk paths, archive paths, and plugin file system paths.
-R pathSpecifies the path for the right panel. It works with full or relative disk paths, archive paths, and plugin file system paths.
-A pathSpecifies the path for the active panel. It works with full or relative disk paths, archive paths, and plugin file system paths. This parameter is ignored when -L or -R parameter is specified.
-C reg_fileSpecifies the exported configuration that will be imported to the registry before loading configuration from the registry. If you do not specify full path to the configuration file, it is searched in the installation directory and in Vista or later also in application data directory (typically C:\Users\<user>\AppData\Roaming\Altap\Altap Salamander)
-I icon_indexSpecifies the icon color that will be used for main window. 0 means DEFAULT icon, 1 means RED icon, 2 means GREEN icon, and 3 means BLUE icon. You can also change the icon color in configuration of main window.
-T title_prefixSpecifies the text prefix displayed in the title bar of main window. To suppress text prefix use the "" parameter. You can also change the prefix in configuration of main window.
-OSalamander will behave as when Allow only one instance of Salamander at one time option is checked. The option value in configuration will not be affected.
-P panel_indexSpecifies the panel that will be activated. 0 means DEFAULT panel, 1 means LEFT panel amd 2 means RIGHT panel.

Examples

  • To open Altap Salamander with "C:\Program Files" directory in the left panel:

    salamand.exe -L "C:\Program Files"

  • To open Altap Salamander with personal configuration stored in myconfig.reg:

    salamand.exe -C "myconfig.reg"

  • To open Altap Salamander with red icon and ADMIN prefix in the title bar:

    salamand.exe -I 1 -T "ADMIN"