Introduction

Overview / Layout

Panels

FileSystem

File Operations

Extensions

Tools

Customization and Configuration

Configuring the Layout

User Commands and Scripting

Other

API

Troubleshooting

FAQ (pages to follow)

Index

List of Custom Commands

MC.Run Run an external program
MC.RunUserCmd Run a User Defined Command
MC.RunCmd Run an Internal or User Defined Command
MC.CmdLineSet Set a text in the Command Line field
MC.CmdLineRun Run a command via the Command Line field
MC.View View file. Viewer is selected by finding a match in the file type setup
MC.Edit Edit file. Editor is selected by finding a match in the file type setup
MC.SetActivePanel Set what panel side should be active
MC.SetActiveTab Set what tab should be active
MC.CloseAllTabs Close all tabs
MC.SaveTabs Save current tabs panel layout
MC.LoadTabs Load a tabs panel layout
MC.ChangeTabSession Change to a preconfigured tab session
MC.XChangeSettings Change a Multi Commander UI setting. (See online doc for supported settings to change)
MC.BindKey Bind a keyboard key combination to a command (eg. BindKey CMD=Core.1360 KEY=Ctrl+N)
MC.UnBindKey Unbind a keyboard key combination from a command (eg. UnbindKey CMD=Core.1360)
MC.ShowFavWindow Show Favorites Window
MC.ShowFavPopup Show Favorites Popup menu
MC.ShellPaste Paste clipboard data using Windows Shell
MC.LoadButtonPanelLayout Load a button panel layout from file
MC.Filesystem.Rename Rename a file or folder. Current file will be used if FILE parameter is not used
MC.Filesystem.Delete Delete a file(s) or folder(s). If no PATH parameter is given the current selected file(s)/folder(s) will be used
MC.Filesystem.Makedir Create a new folder
MC.Filesystem.PackFiles Pack files into an archive (eg. .zip file). If no FILES parameter is giving the current selected files/folders are used
MC.Filesystem.Unpack Unpack archives into a folder
MC.Explorer.NewBrowser Open a new Explorer Panel tab
MC.Explorer.CloseAll Close all Explorer Panel tabs
MC.Explorer.Goto Show path in the Explorer Panel
MC.Explorer.Select Select files and folders in the Explorer Panel
MC.Explorer.Deselect Deselect files and folders in the Explorer Panel
MC.Explorer.Refresh Refresh the Explorer Panel
MC.Explorer.RefreshTree Refresh the Explorer Panel
MC.Explorer.Copy Start a Copy operation
MC.Explorer.Delete Start a Delete operation
MC.Explorer.Move Start a Move operation
MC.Explorer.Makedir Create folder
MC.Explorer.SetViewFilter View filter for the Explorer Panel
MC.Explorer.GetViewFilter View filter for the Explorer Panel
MC.Explorer.SetColumns Change what columns to show, change to a defined column set
MC.Explorer.SetViewMode Change view mode of Explorer Panel that is in focus
MC.Explorer.SetTabProp Change tab properties of active Explorer Panel tab
MC.Explorer.Sort Change which column data is sorted by
MC.Explorer.SizeFolder Size current selected folder(s)
MC.Explorer.SetItemFocus Change focus to specified a file/folder in the current path
MC.Explorer.SetColoringRules Set Color Rules profile to use. Do not specify a name if you want to use the default color profile
MC.Explorer.RefreshColoringRules Refresh file coloring for all files and folders
MC.Explorer.ChangeSetting Change an Explorer Panel settings for the current active tab temporarily. Settings will NOT be saved See documentation for more information
MC.Explorer.Selection.Select Select items by filter (Support all views)
MC.Explorer.Selection.Unselect Unselect items by filter (Support all views)
MC.Explorer.Selection.SelectAll Select all items
MC.Explorer.Selection.UnselectAll Unselect all items
MC.Explorer.Selection.InvertSelection Invert selections of items
MC.Explorer.Selection.SelectByColor Select by color (Color set by File Coloring Rules)
MC.Explorer.Selection.UnselectByColor Unselect by color (Color set by File Coloring Rules)
MC.Explorer.Selection.SaveSelectionToMemory Save selection to memory
MC.Explorer.Selection.LoadSelectionFromMemory Load selection from memory
MC.Explorer.Selection.SaveSelectionToFile Save selection to file
MC.Explorer.Selection.LoadSelectionFromFile Load selection from file
MC.Explorer.Selection.LoadSelectionFromClipboard Load selection from clipboard
MC.Explorer.Selection.CompareFoldersForDuplicates Compare target and source views and select duplicates
MC.Explorer.Selection.CompareFoldersForSelected Compare target and source views and select selected on target
MC.Explorer.Selection.CompareFoldersForMissingAndNewer Compare target and source views and select missing and newest
MC.Explorer.Selection.CompareFoldersForMissing Compare target and source views and select missing
MC.Explorer.Selection.CompareFoldersForNewest Compare target and source views and select newest item
MC.FileSearch.Search Search for files and folders
MC.Special.SelectOldestByName Select oldest based on file/folder name
MC.Utils.CreateLink Create a File System Link, Symbolic, Hardlink, Junction or Shortcut
MC.Utils.SortLines Sort Lines in text file
MC.Utils.FindAndReplace Find and Replace in file
MC.CheckSum.Verify Start CheckSum Tab and verify file(s)
MC.CheckSum.Create Start CheckSum Tab and create checksum file
MC.DataViewer.View Open a file for viewing
MC.PictureTools.Convert Convert one or many pictures to another picture format
MC.PictureTools.Resize Resize one or many pictures

MC.Run

Run an external program
If command is run from a MultiScript. the execution return code is available in $__CMDRESULT. (Only if the WAIT option was used)

Options

ADMIN Run program as Administrator
ARG Arguments to sent to program
CMD Path to program to run
SHELL Determine how the file should be started
STARTIN Path to folder in which the program should be started
WAIT Wait for program to close before continuing

MC.RunUserCmd

Run a User Defined Command

Options

ID GUID of the command to run (eg. "ID=fg3432f1ab4aBD422DAB3")

MC.RunCmd

Run an Internal or User Defined Command

Options

ASYNC Run the command asynchronously
ID ID name of the command to run (eg. "ID=Core.1234")

MC.CmdLineSet

Set a text in the Command Line field

Options

SETFOCUS Change focus to the Command Line field
TEXT Text to set in the Command Line field

MC.CmdLineRun

Run a command via the Command Line field

Options

CMD Command to be run as if it was written in the Command Line field

MC.View

View file. Viewer is selected by finding a match in the file type setup

Options

FILE Path to file to view. If not specified, the file in focus will be used
VIEWAS When looking for viewer to use, select as if file is this file type (eg. VIEWAS=".txt")

MC.Edit

Edit file. Editor is selected by finding a match in the file type setup

Options

EDITAS When looking for editor to use, select as if file is this file type (eg. EDITAS=".jpg")
FILE Path to file to view. If not specified, the file in focus will be used

MC.SetActivePanel

Set what panel side should be active

Options

PANEL What panel should be active. LEFT, RIGHT, TOP, BOTTOM, TOGGLE

MC.SetActiveTab

Set what tab should be active

Options

PANEL Which panel side the tabs are located in: LEFT, RIGHT, TOP, BOTTOM, ACTIVE, INACTIVE
TAB Tab to activate, starting with 1 and increasing. (Eg. TAB=2 or NEXT, PREV)

MC.CloseAllTabs

Close all tabs

Options

DONOTASK Do not ask if locked tab should be closed
KEEPLOCKED Do not close locked tabs
LEFTONLY Close all tabs on the left/top side only
RIGHTONLY Close all tabs on the right/bottom side only

MC.SaveTabs

Save current tabs panel layout

Options

CURRENT Only current tab
FILENAME File path to a tab definition file

MC.LoadTabs

Load a tabs panel layout

Options

ADD Add tab panels to current layout
FILENAME File path to a tab definition file
REPLACE Replace all current tabs panels

MC.ChangeTabSession

Change to a preconfigured tab session

Options

ID ID of the tab session to activate

MC.XChangeSettings

Change a Multi Commander UI setting. (See online doc for supported settings to change)

Options

NAME Name of setting
VALUE Value of the new setting

MC.BindKey

Bind a keyboard key combination to a command (eg. BindKey CMD=Core.1360 KEY=Ctrl+N)

Options

CMD Command to bind to key (eg. Core.1360)
KEY Key to bind to (eg. Ctrl+N )
SAVE (Optional) should the keybinding be saved between restarts

MC.UnBindKey

Unbind a keyboard key combination from a command (eg. UnbindKey CMD=Core.1360)

Options

CMD Command to unbind from key (eg. Core.1360)
SAVE (Optional) should the keybinding be saved between restarts

MC.ShowFavWindow

Show Favorites Window

Options

SECTION Favorite section to show (Name or Number)
SHOWPATH Show target path instead of favorite name

MC.ShowFavPopup

Show Favorites Popup menu

Options

POS Where to show the popup (Mouse, CenterScreen, CenterMC, "X,Y" pos )
SHOWPATH Show target path instead of favorite name

MC.ShellPaste

Paste clipboard data using Windows Shell

Options

PATH Path where to paste the data. If not set current active path is used

MC.LoadButtonPanelLayout

Load a button panel layout from file

Options

FILE Path to a button panel layout file

MC.Filesystem.Rename

Rename a file or folder. Current file will be used if FILE parameter is not used

Options

ASKNAME Show a dialog asking for the new name. If 'NEWNAME' is also specified, it will be used as a suggested name
FILE Specify file you want to rename
NEWNAME The name you want the file/folder renamed to

MC.Filesystem.Delete

Delete a file(s) or folder(s). If no PATH parameter is given the current selected file(s)/folder(s) will be used

Options

FILTER Filter what to delete. Separate with ';' eg. "*.jpg;*.bmp;*.tif"
PATH The file or folder to delete

MC.Filesystem.Makedir

Create a new folder

Options

PATH Full path to the folder you want to create

MC.Filesystem.PackFiles

Pack files into an archive (eg. .zip file). If no FILES parameter is giving the current selected files/folders are used

Options

FILES Which files or folders to pack. Separate multiple files and folders with ';'
FILTER Filter to use. Separate filters with space eg. '*.txt -readme.txt *.info'
METHOD Pack method to use Zip, 7Zip, Tar
SEPARATE Pack the selected files/folders into separate archives. (TARGET must have wildcard in name. eg "e:\file_*.zip")
TARGET Target name of the archive. (Set to auto to auto-generate a name)

MC.Filesystem.Unpack

Unpack archives into a folder

Options

FILE Which archives to unpack. Separate multiple archives with ';'
FILTER Filter to use. Separate filters with space eg. '*.txt -readme.txt *.info'
PASSWORD Password to use if the archive is password protected. (If not set, a dialog will be shown if password is needed during unpacking)
TARGET Folder where the archives should be unpacked

MC.Explorer.NewBrowser

Open a new Explorer Panel tab

Options

FLAT Show path flat. Path and subfolders will be flattened and shown together
PATH The path you want to show
SIDE Open the new Explorer Panel tab on the LEFT, RIGHT, SOURCE, TARGET or AUTO
TABCOLORS Tab Colors to use. Comma-separated list TABCOLORS=<background>,<textcolor>,<Gradient (0/1)>,<HotWhenActive (0/1)>
TABLOCK Lock Tab
TABLOCKALLOWSUBCHANGE Lock Tab - Allow subpath change
TABNAME Force the tab to be named using the provided text

MC.Explorer.CloseAll

Close all Explorer Panel tabs

MC.Explorer.Goto

Show path in the Explorer Panel

Options

FLAT Show path flat. Path and subfolders will be flattened and shown together
LEFT Left Path
PATH The path you want to show
RIGHT Right Path
SOURCE Source Path
TARGET Target Path
ITEMFOCUS Name of file/folder to set focus on

MC.Explorer.Select

Select files and folders in the Explorer Panel

Options

FILTER Filter of the files and folder to select
ONLYFILES Only filter files
ONLYFOLDERS Only filter folders

MC.Explorer.Deselect

Deselect files and folders in the Explorer Panel

Options

FILTER Filter of the files and folder to select
ONLYFILES Only filter files
ONLYFOLDERS Only filter folders

MC.Explorer.Refresh

Refresh the Explorer Panel

Options

AUTO Automatic detection of refresh method
FORCEREBUILD Rescan and Rebuild (Remove all caches and rebuild them)
FORCEUPDATE Rescan and Update (Update current caches)
REDRAWUI Redraw UI only
UPDATEUICACHE Update View Cache only

MC.Explorer.RefreshTree

Refresh the Explorer Panel

MC.Explorer.Copy

Start a Copy operation

Options

NEWQUEUE Always start a new file operations queue
NODIALOG Do not show the 'Copy To' dialog. Use default settings
OVERWRITE_ALL Auto overwrite, Overwrite All
OVERWRITE_AUTORENAME_EXISTING Auto overwrite, Keep both - Rename existing file
OVERWRITE_AUTORENAME_NEW Auto overwrite, Keep both - Rename new file
OVERWRITE_IFNEWER Auto overwrite, Overwrite If date is newer
OVERWRITE_IFSIZEDIFF Auto overwrite, Overwrite If size is different
OVERWRITE_IFSIZELARGER Auto overwrite, Overwrite If size is larger
OVERWRITE_IFSIZESMALLER Auto overwrite, Overwrite If size is smaller
SKIPEMPTYFOLDERS Skip Empty folders
USEEXISTINGQUEUE Use existing file operations queue if one exists

MC.Explorer.Delete

Start a Delete operation

Options

NEWQUEUE Always start a new file operations queue
NODIALOG Do not show the 'Delete' dialog. Use default settings
USEEXISTINGQUEUE Use existing file operations queue if one exists

MC.Explorer.Move

Start a Move operation

Options

NEWQUEUE Always start a new file operations queue
NODIALOG Do not show the 'Move To' dialog. Use default settings
OVERWRITE_ALL Auto overwrite, Overwrite All
OVERWRITE_AUTORENAME_EXISTING Auto overwrite, Keep both - Rename existing file
OVERWRITE_AUTORENAME_NEW Auto overwrite, Keep both - Rename new file
OVERWRITE_IFNEWER Auto overwrite, Overwrite If date is newer
OVERWRITE_IFSIZEDIFF Auto overwrite, Overwrite If size is different
OVERWRITE_IFSIZELARGER Auto overwrite, Overwrite If size is larger
OVERWRITE_IFSIZESMALLER Auto overwrite, Overwrite If size is smaller
SKIPEMPTYFOLDERS Skip Empty folders
USEEXISTINGQUEUE Use existing file operations queue if one exists

MC.Explorer.Makedir

Create folder

Options

FOLDERNAME Folder name
GOTO Go to folder path when created

MC.Explorer.SetViewFilter

View filter for the Explorer Panel

Options

FILTER The View Filter you want to set
FILTERID The Filter ID of an Advanced Filter that is already defined

MC.Explorer.GetViewFilter

View filter for the Explorer Panel

MC.Explorer.SetColumns

Change what columns to show, change to a defined column set

Options

NAME ColumnSet name

MC.Explorer.SetViewMode

Change view mode of Explorer Panel that is in focus

Options

MODE (1 = Detail, 2 = List, 3 = Thumbnail List, 4 = Thumbnail Detail)

MC.Explorer.SetTabProp

Change tab properties of active Explorer Panel tab

Options

RESET Reset all tab properties. No other parameter used if this is set
TABCOLORS Tab Colors to use. Comma-separated list TABCOLORS=<background>,<textcolor>,<Gradient (0/1)>,<HotWhenActive (0/1)>
TABLOCK Lock Tab
TABLOCKALLOWSUBCHANGE Lock Tab - Allow subpath change
TABNAME Force the tab to be named using the provided text

MC.Explorer.Sort

Change which column data is sorted by

Options

COL Number of the column to sort by (starting from 1)
COLNAME Name of the column to sort by (eg. COLNAME=name)
ORDER Sort order. ASC for ascending, DES for descending

MC.Explorer.SizeFolder

Size current selected folder(s)

Options

ALL Force sizing of all folders in current location
ONLYFOCUS Only size folder that is in focus

MC.Explorer.SetItemFocus

Change focus to specified a file/folder in the current path

Options

ITEM Name of the file/folder

MC.Explorer.SetColoringRules

Set Color Rules profile to use. Do not specify a name if you want to use the default color profile

Options

NAME Name of the color profile

MC.Explorer.RefreshColoringRules

Refresh file coloring for all files and folders

MC.Explorer.ChangeSetting

Change an Explorer Panel settings for the current active tab temporarily. Settings will NOT be saved See documentation for more information

Options

NAME Setting name
TOGGLE Will toggle the named setting (if possible)
VALUE New Settings Value

MC.Explorer.Selection.Select

Select items by filter (Support all views)

Options

FILTER Filter of what to match against
FILTERID The Filter ID of an Advanced Filter that is already defined
ONLYFILES Only filter files
ONLYFOLDERS Only filter folders

MC.Explorer.Selection.Unselect

Unselect items by filter (Support all views)

Options

FILTER Filter of what to match against
ONLYFILES Only filter files
ONLYFOLDERS Only filter folders

MC.Explorer.Selection.SelectAll

Select all items

MC.Explorer.Selection.UnselectAll

Unselect all items

MC.Explorer.Selection.InvertSelection

Invert selections of items

MC.Explorer.Selection.SelectByColor

Select by color (Color set by File Coloring Rules)

Options

RULE Name of the color rule to select files/folder by. (File coloring profile having the specified rule must be active)

MC.Explorer.Selection.UnselectByColor

Unselect by color (Color set by File Coloring Rules)

Options

RULE Name of the color rule to unselect files/folder by. (File coloring profile having the specified rule must be active)

MC.Explorer.Selection.SaveSelectionToMemory

Save selection to memory

Options

NAME Name that you want to save the selection as (Optional)

MC.Explorer.Selection.LoadSelectionFromMemory

Load selection from memory

Options

NAME Name that you want to load the selection from (Optional)

MC.Explorer.Selection.SaveSelectionToFile

Save selection to file

Options

FILE File to save selection to

MC.Explorer.Selection.LoadSelectionFromFile

Load selection from file

Options

FILE File to load selection from

MC.Explorer.Selection.LoadSelectionFromClipboard

Load selection from clipboard

Options

WILDCARD Do wildcard selection, (Will insert * before and after every part before doing the selection)

MC.Explorer.Selection.CompareFoldersForDuplicates

Compare target and source views and select duplicates

Options

FILES Compare files
FOLDERS Compare folders

MC.Explorer.Selection.CompareFoldersForSelected

Compare target and source views and select selected on target

Options

FILES Compare files
FOLDERS Compare folders

MC.Explorer.Selection.CompareFoldersForMissingAndNewer

Compare target and source views and select missing and newest

Options

FILES Compare files
FOLDERS Compare folders

MC.Explorer.Selection.CompareFoldersForMissing

Compare target and source views and select missing

Options

FILES Compare files
FOLDERS Compare folders

MC.Explorer.Selection.CompareFoldersForNewest

Compare target and source views and select newest item

Options

FILES Compare files
FOLDERS Compare folders

MC.FileSearch.Search

Search for files and folders

Options

ATTRIBUTE Match file attributes. Any of the following characters are valid: ARHSDCE
AUTOSTART Auto-start the search when the command is run
CONTENT Search for this content in matching files
EXCLUDE Path(s) to exclude. if folder with matching name is found, it is not searched
HIDE Hide the 'Find Files' Dialog
IGNORECASE Ignore case difference when matching content
NOTTHERE File is a match if content is missing from the file
PANEL What panel to open the search in. (LEFT, RIGHT, ACTIVE, INACTIVE)
SEARCHFOR Match files or folder that has this substring in the name, (or use wildcard)
SEARCHFOR_REGEXP Match files or folder against this regular expression
SEARCHIN Path(s) to where to search. Separate by space or ;
SIZE Match files with a file size. Use > or < for more or less then. Eg: ">2000000"
SUBLEVELS Search only # subfolders down
TIME Set a time range from now. (Valid values: TODAY, YESTERDAY, THISWEEK, THISMONTH)
TIMEFROM Match files with a date from this time. (Format date/time as YYY-MM-DD HH:MM:SS)
TIMETO Match files with a date to this time. (Format date/time as YYY-MM-DD HH:MM:SS)
WORDS Match content against whole words

MC.Special.SelectOldestByName

Select oldest based on file/folder name

Options

SOURCE Select in source view
TARGET Select in target view

MC.Utils.CreateLink

Create a File System Link, Symbolic, Hardlink, Junction or Shortcut

Options

ASADMIN Run as Administrator
LNKSRC Link Source
LNKTRG Link Target
LNKTYPE Link type. 1 = Hardlink, 2 = Junction, 3 = Symlink, 4 = Shortcut

MC.Utils.SortLines

Sort Lines in text file

Options

DATEFORMAT Date format
DELETE Overwrite original file
ENDATWHITESPACE End at any whitespace character
ENDCHAR End character
FILE File to sort lines in
IGNORECASE Ignore case
ITEM Item to sort by
ITEMSEP Item separator
KEEPBACKUP Keep a backup of original file (*.bak)
KEEPBOTTOM Lines at the bottom to keep
KEEPTOP Lines at the top to keep
LANGUAGEORDER Use language-established sort order
LINEOFFSET Where on the line to start sorting from (1-based; first position is 1, not 0)
NATRUALNUMORDER Natural number order
OVERWRITE Overwrite if target file already exists
REVERSE Reverse sort order
SILENT Silent. No error/done dialogs are shown
SKIPLEADINGSPACE Skip leading spaces
SORTAS Sort as Text, Number or Date (Default is: Text)
SORTBY Sort lines by Line, SubString or Item. (Default is Line)
SUBSTRLEN Substring length
TARGET Name of the new file. (Name filter like "*_New.*". Don't include path)

MC.Utils.FindAndReplace

Find and Replace in file

Options

DELETE Overwrite original file
FILE File to replace text in
FIND Text to find
FORCEUTF8 Force file format to UTF-8 if detected as ASCII
IGNORECASE Ignore case
KEEPBACKUP Keep a backup of original file (*.bak)
MODE Find and Replace Mode. One, Many, ManySame, Multiline (Default: One)
OVERWRITE Overwrite if target file already exists
REPLACEALL Replace All
REPLACEWITH Text to replace with
SILENT Silent. No error/done dialogs are shown
TARGET Name of the new file. (Name filter like "*_New.*". Don't include path)
WILDCARD Use wildcard matching

MC.CheckSum.Verify

Start CheckSum Tab and verify file(s)

Options

ALLSELECTED Verify all selected files (and files inside selected folders)
FILE Path to file to verify. If folder then all checksum files in that folder will be used

MC.CheckSum.Create

Start CheckSum Tab and create checksum file

Options

ALLSELECTED Add all selected files
AUTOSTART Auto-start the creation of the checksum file
CHECKSUM Checksum Mode to use: CRC32 or MD5 (default: CRC32)
ENCODING Text Encoding of the SFV/MD5 file: ASCII/UTF-8/UNICODE (default: ASCII)
FILENAME Filename of the SFV/MD5 file to create. If name is not set it name is auto-generated

MC.DataViewer.View

Open a file for viewing

Options

ASCII View file as ASCII
AUTORELOAD Enable AutoReload
BGCOLOR Background Color
BINARY View file as BINARY
COLOR Text Color
FILE Path to file to view
FONT Font you want to use
FONTSIZE Font size you want to use
FORMAT_1 Add formatting. Add FORMAT_2 and so on for more formats
HEX View file as HEX
HIGHLIGHT Highlight words
UNICODE View file as UNICODE

MC.PictureTools.Convert

Convert one or many pictures to another picture format

Options

DELETE Delete the original file if it was converted
FILE File to convert
FILES List of files to convert, Separate with Semicolon (";")
FOCUS Convert file in focus only
FORMAT Target format for conversion. Can be one of the following: PNG, JPG, GIF, BMP, TIF
JPGQUALITY JPG Quality to use (0-100). (Only valid if FORMAT is JPG)
OVERWRITE Overwrite target file if it already exists
SAVEAS Save new file as. (Only valid if you also used FILE ) By default the file name is kept but with the new file extension
SELECTED Convert all selected files

MC.PictureTools.Resize

Resize one or many pictures

Options

FILE File to resize
FILES List of files to resize. Separate with Semicolon (";")
FOCUS Resize file in focus only
HEIGHT Height of target image in pixels or percent Use * to auto-calculate when keeping aspect ratio
OVERWRITE Overwrite target file if it already exists
REPLACE Replace original image file
SAVEAS Save new file as. (Only valid if you also used FILE ) By default the file name is kept but with the new file extension
SELECTED Resize all selected files
WIDTH Width of target image in pixels or percent Use * to auto-calculate when keeping aspect ratio