List of internal commands

From TotalcmdWiki
Jump to navigation Jump to search

The list of internal commands on this page are the internal commands of Total Commander 11.03. To view the commands for earlier versions use the "View history" of this page to visit earlier snapshots.

The column P? indicates whether or not a command accepts parameters. Its main purpose is to sort. You can sort by clicking a column header. If you hold down Shift while clicking, you can sort with additional sort keys. For example: click twice (no double-click) on P? and then Shift+click on Number and see what happens.

List of internal commands
Number Command P? Parameters Category Description
300 cm_SrcComments [<on_off_toggle>] Active panel Active panel: Enable/disable showing comments instead of file details (Ctrl+Shift+F2)
301 cm_SrcShort Active panel Active panel: Show only filenames (Ctrl+F1)
302 cm_SrcLong Active panel Active panel: Show all file details (Ctrl+F2)
303 cm_SrcTree Active panel Active panel: Show folder tree (Ctrl+F8)
304 cm_SrcQuickview [<on_off_toggle>] Active panel Active panel: Enable/disable Quick view
306 cm_SrcQuickInternalOnly [<on_off_toggle>] Active panel Active panel: Enable/disable Quick view without plugins/multimedia
307 cm_SrcHideQuickview Active panel Active panel: Disable Quick view
311 cm_SrcExecs Active panel Active panel: Show only programs (Ctrl+F11)
312 cm_SrcAllFiles Active panel Active panel: Show all files (Ctrl+F10)
313 cm_SrcUserSpec [8,9] Active panel Active panel: Enable last chosen custom filter, or temporarily save current filter (parameter 8), or load temporarily saved filter (parameter 9)
314 cm_SrcUserDef Active panel Active panel: Set custom filter (show only certain files/folders) (Ctrl+F12)
321 cm_SrcByName [<sort_action>] Active panel Active panel: Sort by name
322 cm_SrcByExt [<sort_action>] Active panel Active panel: Sort by extension
323 cm_SrcBySize [<sort_action>] Active panel Active panel: Sort by size
324 cm_SrcByDateTime [<sort_action>] Active panel Active panel: Sort by date-time
325 cm_SrcUnsorted Active panel Active panel: Change sorting to unsorted
330 cm_SrcNegOrder [<on_off_toggle>,8,9] Active panel Active panel: Reverse sort order; use "8" to save sort order, use "9" to restore sort order
331 cm_SrcOpenDrives [<drive_letter>,\,.,[,=,<char_code>] Active panel Active panel: Open drive list or go to drive; parameters: <drive_letter> (drive), \ (root of drive), . (parent folder), [ or = (Network), <char_code> (character code of mentioned parameters)
269 cm_SrcThumbs [<on_off_toggle>] Active panel Active panel: Thumbnail view (Ctrl+Shift+F1)
270 cm_SrcCustomViewMenu Active panel Active panel: Show custom columns menu
332 cm_SrcPathFocus Active panel Focus the path of the active panel
333 cm_SrcViewModeList [0-249,<view_name>] Active panel Active panel: Show custom views menu or switch to specified custom view
100 cm_LeftComments [<on_off_toggle>] Left panel Left panel: Enable/disable showing comments instead of file details
101 cm_LeftShort Left panel Left panel: Show only filenames
102 cm_LeftLong Left panel Left panel: Show all file details
103 cm_LeftTree Left panel Left panel: Show folder tree
104 cm_LeftQuickview [<on_off_toggle>] Left panel Left panel: Enable/disable Quick view
106 cm_LeftQuickInternalOnly [<on_off_toggle>] Left panel Left panel: Enable/disable Quick view without plugins/multimedia
107 cm_LeftHideQuickview Left panel Left panel: Disable Quick view
111 cm_LeftExecs Left panel Left panel: Show only programs
112 cm_LeftAllFiles Left panel Left panel: Show all files
113 cm_LeftUserSpec [8,9] Left panel Left panel: Enable last chosen custom filter, or temporarily save current filter (parameter 8), or load temporarily saved filter (parameter 9)
114 cm_LeftUserDef Left panel Left panel: Set custom filter (show only certain files/folders)
121 cm_LeftByName [<sort_action>] Left panel Left panel: Sort by name
122 cm_LeftByExt [<sort_action>] Left panel Left panel: Sort by extension
123 cm_LeftBySize [<sort_action>] Left panel Left panel: Sort by size
124 cm_LeftByDateTime [<sort_action>] Left panel Left panel: Sort by date-time
125 cm_LeftUnsorted Left panel Left panel: Change sorting to unsorted
130 cm_LeftNegOrder [<on_off_toggle>,8,9] Left panel Left panel: Reverse sort order; use "8" to save sort order, use "9" to restore sort order
131 cm_LeftOpenDrives [<drive_letter>,\,.,[,=,<char_code>] Left panel Left panel: Open drive list or go to drive; parameters: <drive_letter> (drive), \ (root of drive), . (parent folder), [ or = (Network), <char_code> (character code of mentioned parameters)
132 cm_LeftPathFocus Left panel Focus the path of the left panel
2034 cm_LeftDirBranch [<on_off_toggle>] Left panel Left panel: Branch view
2047 cm_LeftDirBranchSel [<on_off_toggle>] Left panel Left panel: Branch view, only selected
69 cm_LeftThumbs [<on_off_toggle>] Left panel Left panel: Thumbnail view
70 cm_LeftCustomViewMenu Left panel Left panel: Show custom columns menu
133 cm_LeftViewModeList [0-249,<view_name>] Left panel Left panel: Show custom views menu or switch to specified custom view
200 cm_RightComments [<on_off_toggle>] Right panel Right panel: Enable/disable showing comments instead of file details
201 cm_RightShort Right panel Right panel: Show only filenames
202 cm_RightLong Right panel Right panel: Show all file details
203 cm_RightTree Right panel Right panel: Show folder tree
204 cm_RightQuickview [<on_off_toggle>] Right panel Right panel: Enable/disable Quick view
206 cm_RightQuickInternalOnly [<on_off_toggle>] Right panel Right panel: Enable/disable Quick view without plugins/multimedia
207 cm_RightHideQuickview Right panel Right panel: Disable Quick view
211 cm_RightExecs Right panel Right panel: Show only programs
212 cm_RightAllFiles Right panel Right panel: Show all files
213 cm_RightUserSpec [8,9] Right panel Right panel: Enable last chosen custom filter, or temporarily save current filter (parameter 8), or load temporarily saved filter (parameter 9)
214 cm_RightUserDef Right panel Right panel: Set custom filter (show only certain files/folders)
221 cm_RightByName [<sort_action>] Right panel Right panel: Sort by name
222 cm_RightByExt [<sort_action>] Right panel Right panel: Sort by extension
223 cm_RightBySize [<sort_action>] Right panel Right panel: Sort by size
224 cm_RightByDateTime [<sort_action>] Right panel Right panel: Sort by date-time
225 cm_RightUnsorted Right panel Right panel: Change sorting to unsorted
230 cm_RightNegOrder [<on_off_toggle>,8,9] Right panel Right panel: Reverse sort order; use "8" to save sort order, use "9" to restore sort order
231 cm_RightOpenDrives [<drive_letter>,\,.,[,=,<char_code>] Right panel Right panel: Open drive list or go to drive; parameters: <drive_letter> (drive), \ (root of drive), . (parent folder), [ or = (Network), <char_code> (character code of mentioned parameters)
232 cm_RightPathFocus Right panel Focus the path of the right panel
2035 cm_RightDirBranch [<on_off_toggle>] Right panel Right panel: Branch view
2048 cm_RightDirBranchSel [<on_off_toggle>] Right panel Right panel: Branch view, only selected
169 cm_RightThumbs [<on_off_toggle>] Right panel Right panel: Thumbnail view
170 cm_RightCustomViewMenu Right panel Right panel: Show custom columns menu
233 cm_RightViewModeList [0-249,<view_name>] Right panel Right panel: Show custom views menu or switch to specified custom view
903 cm_List [/[A,S,V,F,N][T[1-8]][C<codepage>][P<plugin>]] [<filename>] File operation View with Lister
1006 cm_ListInternalOnly [/[A,S,V,F,N][T[1-8]][C<codepage>][P<plugin>]] [<filename>] File operation View single file with Lister without plugins/multimedia
2933 cm_ListInternalMulti [/[A,S,V,F,N][T[1-8]][C<codepage>][P<plugin>]] [<filename>] File operation View selected files with Lister without plugins/multimedia
2934 cm_ListOnly [/[A,S,V,F,N][T[1-8]][C<codepage>][P<plugin>]] [<filename>] File operation View single file with Lister with plugins/multimedia
2935 cm_ListMulti [/[A,S,V,F,N][T[1-8]][C<codepage>][P<plugin>]] [<filename>] File operation View selected files with Lister with plugins/multimedia
3026 cm_ListExternal [<filename>] File operation Opens file under cursor or specified file with external viewer defined for this file type, or default external viewer otherwise
904 cm_Edit [/[C][T[="<folder>"]][N=["<filenames>",<<filenames>>]][G[0,1]][L[0-3]][V="<verb>"]] File operation Edit files and create new files if they don't exist; options: C (create if not exist), T (templates for new files), N (filenames), G (start immediately), L (launch editor or associated program), V (verb)
2931 cm_EditNewFile [1] File operation Create and edit new text file; parameters: 1 (don't edit the new file)
2943 cm_EditFileMenu File operation Choose from various file types to create a new file
2932 cm_EditExistingFile File operation Edit file under cursor
905 cm_Copy [/[P[0,1]][V[0,1]][B[0-2]][O[0-9]][R[0,1]][S[0,1]][H[0,1]][A[0,1]][G[0,1]][T="<folder>"][W="<filter>"]] File operation Copy files/folders; options: P (copy NTFS permissions), V (verify), B (background), O (overwrite), R (preserve paths), S (skip unreadable), H (skip confirmation special files), A (multiple target folders), G (start immediately), T (target file), W (filter files, double all enclosed double quotes)
3100 cm_CopySamepanel File operation Copy files/folders to the same folder
3101 cm_CopyOtherpanel File operation Copy files/folders to inactive panel
906 cm_RenMov [/[P[0,1]][V[0,1]][B[0-2]][O[0-9]][R[0,1]][S[0,1]][H[0,1]][G[0,1]][T="<folder>"][W="<filter>"]] File operation Move or rename files/folders; options: P (copy NTFS permissions), V (verify), B (background), O (overwrite), R (preserve paths), S (skip unreadable), H (skip confirmation special files), G (start immediately), T (target file), W (filter files, double all enclosed double quotes)
907 cm_MkDir File operation Create new folder(s)
911 cm_MkDirOther File operation Inactive panel: Create new folder(s)
908 cm_Delete File operation Delete files/folders
518 cm_TestArchive File operation Test integrity of selected archives
508 cm_PackFiles [/[T="<archive>"][D[0,1]][R[0,1]][S[0,1]][M[0,1]][X[0,1]][O[0-4,7,8]][A[0,1]][B[0,1]][C[0,1]][P="<password>"][G[0,1]][E="<extension>"][Z[0-10]]] File operation Pack files/folders; options: T (target archive), D (pack paths), R (pack subfolders), S (multiple disk), M (delete after packing), X (self extracting), O (overwrite), A (separate archives), B (leave out base folder), C (Encrypt), P (password), G (start immediately), E (packer), Z (zip compression)
2955 cm_CopyToArchive File operation Pack files/folders
2956 cm_MoveToArchive File operation Pack files/folders and delete the originals
509 cm_UnpackFiles [/[T="<folder>"][D[0,1]][O[0-4,7,8]][S[0,1]][P="<password>"][A="<password>"][G[0,1]][W="<filter>"]] File operation Unpack archives; options: T (target folder), D (unpack paths), O (overwrite), S (extract archives to separate folders), P (password), A (password for encrypted filenames), G (start immediately), W (filter files, double all enclosed double quotes, /W="" unpacks selection from open archive)
1002 cm_RenameOnly File operation Rename files/folders (Shift+F6)
1007 cm_RenameSingleFile File operation Rename file under cursor
1005 cm_MoveOnly File operation Move files/folders (F6)
1003 cm_Properties File operation Show Properties (single file/folder) or calculate occupied space (multiple files/folders)
1008 cm_ModernShare File operation Share files with contacts, nearby devices, or apps (Windows 10+)
1004 cm_CreateShortcut [/[B[0-2]][O[0-9]][G[0,1]][T="<folder>"][W="<filter>"]] File operation Create shortcut files (.lnk); options: B (background), O (overwrite), G (start immediately), T (target folder), W (filter files, double all enclosed double quotes)
1001 cm_Return File operation Simulate pressing the Enter key
2800 cm_OpenAsUser File operation Open program under cursor as different user
560 cm_Split File operation Split a file into multiple parts
561 cm_Combine File operation Combine file parts into a single file
562 cm_Encode File operation Encode file using MIME/UUE/XXE
563 cm_Decode File operation Decode MIME/UUE/XXE/BinHex/yEnc encoded file
564 cm_CRCcreate File operation Create checksum (hash/digest) file(s) for selected files/folders
565 cm_CRCcheck File operation Verify selected checksum (hash/digest) file(s)
502 cm_SetAttrib File operation Change attributes
490 cm_Config Configuration Open configuration options (opens first page: Layout)
476 cm_LayoutConfig Configuration Open configuration page Layout
486 cm_DisplayConfig Configuration Open configuration page Display
477 cm_IconConfig Configuration Open configuration page Icons
492 cm_FontConfig Configuration Open configuration page Font
494 cm_ColorConfig Configuration Open configuration page Colors
497 cm_ConfTabChange Configuration Open configuration page Tabstops/Data Formats
488 cm_DirTabsConfig Configuration Open configuration page Folder Tabs
483 cm_CustomColumnConfig Configuration Open configuration page Custom Columns
2920 cm_CustomColumnDlg Configuration Change current custom columns
2939 cm_ConfigViewModes Configuration Open configuration page View Mode
2940 cm_ConfigViewModeSwitch Configuration Open configuration page Auto Switch Mode (Auto-switch view modes)
499 cm_LanguageConfig Configuration Open configuration page Language
516 cm_Config2 Configuration Open configuration page Operation
496 cm_EditConfig Configuration Open configuration page Edit/View (Editor and Viewer)
3036 cm_ConfigLister Configuration Open Lister's configuration options
487 cm_CopyConfig Configuration Open configuration page Copy/Delete
478 cm_RefreshConfig Configuration Open configuration page Refresh (auto-refresh file data)
479 cm_QuickSearchConfig Configuration Open configuration page Quick Search
489 cm_FtpConfig Configuration Open configuration page FTP
484 cm_PluginsConfig Configuration Open configuration page Plugins
482 cm_ThumbnailsConfig Configuration Open configuration page Thumbnails
481 cm_LogConfig Configuration Open configuration page Log file
480 cm_IgnoreConfig Configuration Open configuration page Ignore list
475 cm_HistoryConfig Configuration Open configuration page History
491 cm_PackerConfig Configuration Open configuration page Packer
485 cm_ZipPackerConfig Configuration Open configuration page Zip packer
495 cm_Confirmation Configuration Open configuration page Misc. (confirmations, hotkeys, aliases, sounds)
493 cm_ConfigSavePos Configuration Save position and size of the Total Commander window and column widths of the file panels
498 cm_ButtonConfig Configuration Change button bar
583 cm_ButtonConfig2 Configuration Change vertical button bar
580 cm_ConfigSaveSettings Configuration Save settings
581 cm_ConfigChangeIniFiles Configuration Open the main configuration files in Notepad
582 cm_ConfigSaveDirHistory Configuration Save folder history and frequently visited folders list
700 cm_ChangeStartMenu Configuration Change Start menu
512 cm_NetConnect Network Network connections
513 cm_NetDisconnect Network Disconnect network drives
514 cm_NetShareDir Network Share current folder
515 cm_NetUnshareDir Network Unshare current folder
2204 cm_AdministerServer Network Show administrative shares on the currently accessed server during the Total Commander session (to go to \\server\c$ etc.)
2203 cm_ShowFileUser Network Show which remote user has opened a local file (run as administrator)
503 cm_GetFileSpace Miscellaneous Calculate occupied space (Ctrl+L)
505 cm_VolumeId Miscellaneous Set volume label
510 cm_VersionInfo Miscellaneous Show Properties of selected file(s)/folder(s)
511 cm_ExecuteDOS Miscellaneous Open command prompt window
533 cm_CompareDirs [1] Miscellaneous Compare file panels: mark newer files (and unique files) (Shift+F2); parameter "1" only marks unique files
536 cm_CompareDirsWithSubdirs [1] Miscellaneous Compare file panels: mark newer files (and unique files and folders); parameter "1" only marks unique files and folders
2500 cm_ContextMenu Miscellaneous Show context menu (Shift+F10/Menu key)
3020 cm_DriveContextMenu Miscellaneous Show drive context menu
2927 cm_ContextMenuInternal Miscellaneous Show context menu for internal associations
2928 cm_ContextMenuInternalCursor Miscellaneous Show context menu for internal associations for file under cursor
2930 cm_ShowRemoteMenu Miscellaneous Context menu for Media Center remote control (Play/Pause)
2600 cm_SyncChangeDir [<on_off_toggle>] Miscellaneous Synchronous folder changing (try to go to the same subfolder in the other panel too)
2700 cm_EditComment Miscellaneous Edit file comment
4001 cm_FocusLeft Miscellaneous Focus the left file list
4002 cm_FocusRight Miscellaneous Focus the right file list
4005 cm_FocusSrc Miscellaneous Focus the file list of the active panel
4006 cm_FocusTrg Miscellaneous Focus the file list of the inactive panel
4003 cm_FocusCmdLine Miscellaneous Focus the command line
4004 cm_FocusButtonBar Miscellaneous Focus the button bar (Alt+Shift+F11)
4007 cm_FocusLeftTree Miscellaneous Focus the left separate tree
4008 cm_FocusRightTree Miscellaneous Focus the right separate tree
4009 cm_FocusSrcTree Miscellaneous Focus the separate tree of the active panel
4010 cm_FocusTrgTree Miscellaneous Focus the separate tree of the inactive panel
4011 cm_FocusMainMenu Miscellaneous Focus the main menu (F10)
4012 cm_FocusButtonBarVertical Miscellaneous Focus the vertical button bar (Alt+Shift+F12)
2014 cm_CountDirContent Miscellaneous Active panel: Show sizes of folders instead <DIR> (Alt+Shift+Enter) (Abort with Esc)
2913 cm_UnloadPlugins [0-31] Miscellaneous Unload plugins
534 cm_DirMatch Miscellaneous Compare file panels: mark newer files (and unique files), hide files with the same time stamp and file size
531 cm_Exchange Miscellaneous Swap left and right file list (Ctrl+U)
532 cm_MatchSrc Miscellaneous Inactive panel: Go to the same folder as active panel
2918 cm_ReloadSelThumbs Miscellaneous Reload selected thumbnails
2945 cm_ReloadBarIcons Miscellaneous Force reload icons in button bars and main menu
2958 cm_ReloadFileIcons Miscellaneous Reload all file list icons and overlays
2300 cm_DirectCableConnect Parallel port Connect to other PC by cable (via USB or parallel port)
2301 cm_NTinstallDriver Parallel port Install parallel port driver on an NT based OS (run as administrator)
2302 cm_NTremoveDriver Parallel port Remove parallel port driver on an NT based OS (run as administrator)
2027 cm_PrintDir Print Print selected files/folders
2028 cm_PrintDirSub Print Print selected files/folders including subfolders
504 cm_PrintFile Print Print file (Ctrl+F9)
521 cm_SpreadSelection Select / unselect Select group (Num +) (files only or also folders, depending on configuration)
546 cm_SpreadSelectionCurrentExt Select / unselect Select group, suggest extension of file under cursor (files only or also folders, depending on configuration)
3311 cm_SelectBoth Select / unselect Select group (files and folders)
3312 cm_SelectFiles Select / unselect Select group (files only)
3313 cm_SelectFolders Select / unselect Select group (folders only)
522 cm_ShrinkSelection Select / unselect Unselect group (Num -) (files only or also folders, depending on configuration)
547 cm_ShrinkSelectionCurrentExt Select / unselect Unselect group, suggest extension of file under cursor (files only or also folders, depending on configuration)
3314 cm_ClearFiles Select / unselect Unselect group (files only)
3315 cm_ClearFolders Select / unselect Unselect group (folders only)
3316 cm_ClearSelCfg Select / unselect Unselect group (files only or also folders, depending on configuration)
523 cm_SelectAll Select / unselect Select all (Ctrl Num +) (files only or also folders, depending on configuration)
3301 cm_SelectAllBoth Select / unselect Select both files+folders
3302 cm_SelectAllFiles Select / unselect Select all files
3303 cm_SelectAllFolders Select / unselect Select all folders
524 cm_ClearAll Select / unselect Unselect all (Ctrl Num -) (files and folders)
3304 cm_ClearAllFiles Select / unselect Unselect all files
3305 cm_ClearAllFolders Select / unselect Unselect all folders
3306 cm_ClearAllCfg Select / unselect Unselect all (files only or also folders, depending on configuration)
525 cm_ExchangeSelection Select / unselect Invert selection (Num *) (files only or also folders, depending on configuration)
3321 cm_ExchangeSelBoth Select / unselect Invert selection (files and folders)
3322 cm_ExchangeSelFiles Select / unselect Invert selection (files only)
3323 cm_ExchangeSelFolders Select / unselect Invert selection (folders only)
527 cm_SelectCurrentExtension Select / unselect Select all files with the same filename extension (Alt Num +)
528 cm_UnselectCurrentExtension Select / unselect Unselect all files with the same filename extension (Alt Num -)
541 cm_SelectCurrentName Select / unselect Select all files with the same name
542 cm_UnselectCurrentName Select / unselect Unselect all files with the same name
543 cm_SelectCurrentNameExt Select / unselect Select all files with the same name and extension
544 cm_UnselectCurrentNameExt Select / unselect Unselect all files with the same name and extension
537 cm_SelectCurrentPath Select / unselect Select all in the same path (for branch view and search results)
538 cm_UnselectCurrentPath Select / unselect Unselect all in the same path (for branch view and search results)
529 cm_RestoreSelection Select / unselect Restore file selection (Num /)
530 cm_SaveSelection Select / unselect Temporarily save selection
2031 cm_SaveSelectionToFile Select / unselect Save file selection to file
2041 cm_SaveSelectionToFileA Select / unselect Save file selection to file (ANSI)
2042 cm_SaveSelectionToFileW Select / unselect Save file selection to file (Unicode)
2039 cm_SaveDetailsToFile Select / unselect Save all shown columns to file
2043 cm_SaveDetailsToFileA Select / unselect Save all shown columns to file (ANSI)
2044 cm_SaveDetailsToFileW Select / unselect Save all shown columns to file (Unicode)
2093 cm_SaveHdrDetailsToFile Select / unselect Save all shown columns to file, with headers
2094 cm_SaveHdrDetailsToFileA Select / unselect Save all shown columns to file, with headers (ANSI)
2095 cm_SaveHdrDetailsToFileW Select / unselect Save all shown columns to file, with headers (Unicode)
2032 cm_LoadSelectionFromFile Select / unselect Read file selection from file
2033 cm_LoadSelectionFromClip Select / unselect Read file selection from clipboard
2936 cm_Select [[-]<number>] Select / unselect Select a number of files/folders and go to the next one; default is 1 file/folder; any negative parameter selects only current item and the cursor stays in place
2937 cm_UnSelect [[-]<number>] Select / unselect Remove selection of a number of files/folders and go to the next one; default is 1 file/folder; any negative parameter unselects only current item and the cursor stays in place
2938 cm_Reverse [[-]<number>] Select / unselect Reverse selection of a number of files/folders and go to the next one; default is 1 file/folder; any negative parameter toggles only current item and the cursor stays in place
2200 cm_EditPermissionInfo Security Permissions dialog (NTFS) (Windows NT/XP)
2201 cm_EditAuditInfo Security File auditing (NTFS) (Windows NT/XP)
2202 cm_EditOwnerInfo Security Take ownership (NTFS) (Windows NT/XP)
2007 cm_CutToClipboard Clipboard Cut selected files/folders to clipboard (Ctrl+X)
2008 cm_CopyToClipboard Clipboard Copy selected files/folders to clipboard (Ctrl+C) (Ctrl+Insert)
2009 cm_PasteFromClipboard Clipboard Paste file(s)/folder(s) in active file panel (Ctrl+V) (Shift+Insert)
2017 cm_CopyNamesToClip Clipboard Copy filenames to clipboard
2018 cm_CopyFullNamesToClip Clipboard Copy filenames with full path to clipboard
2021 cm_CopyNetNamesToClip Clipboard Copy filenames with full UNC path to clipboard
3035 cm_CopyPathOfFilesToClip Clipboard Copy paths of selected files/folders to clipboard
2029 cm_CopySrcPathToClip Clipboard Active panel: Copy path to clipboard
2030 cm_CopyTrgPathToClip Clipboard Inactive panel: Copy path to clipboard
2036 cm_CopyFileDetailsToClip [<number>] Clipboard Copy file details to clipboard; copy all shown details or only those specified by the parameter
2037 cm_CopyFpFileDetailsToClip [<number>] Clipboard Copy file details to clipboard with full paths; copy all shown details or only those specified by the parameter
2038 cm_CopyNetFileDetailsToClip [<number>] Clipboard Copy file details to clipboard with UNC paths; copy all shown details or only those specified by the parameter
2090 cm_CopyHdrFileDetailsToClip [<number>] Clipboard Copy file details to clipboard with headers; copy all shown details or only those specified by the parameter
2091 cm_CopyHdrFpFileDetailsToClip [<number>] Clipboard Copy file details to clipboard with headers and full paths; copy all shown details or only those specified by the parameter
2092 cm_CopyHdrNetFileDetailsToClip [<number>] Clipboard Copy file details to clipboard with headers and UNC paths; copy all shown details or only those specified by the parameter
550 cm_FtpConnect FTP Open the FTP Connection Manager (Ctrl+F)
551 cm_FtpNew FTP Connect to an FTP server or download a file (Ctrl+N)
552 cm_FtpDisconnect FTP Close an FTP connection
553 cm_FtpHiddenFiles [<on_off_toggle>] FTP Show/hide hidden FTP files (filenames that start with a dot)
554 cm_FtpAbort FTP Abort current FTP command
555 cm_FtpResumeDownload FTP Resume aborted FTP download
556 cm_FtpSelectTransferMode FTP Select Binary, ASCII or Auto transfer mode
557 cm_FtpAddToList FTP Add selected files to download list
558 cm_FtpDownloadList FTP Download files listed in a download list (uploads and some file operations are also supported)
570 cm_GotoPreviousDir Navigation Go to previous folder in folder history
571 cm_GotoNextDir Navigation Go to next folder in folder history
572 cm_DirectoryHistory Navigation Show folder history (filter folders where you didn't stay long) (Alt+Down)
575 cm_DirectoryHistoryNoThinning Navigation Show folder history (unfiltered) (Alt+Shift+Down)
573 cm_GotoPreviousLocalDir Navigation Go to previous folder in folder history, no ftp
574 cm_GotoNextLocalDir Navigation Go to next folder in folder history, no ftp
526 cm_DirectoryHotlist Navigation Open Directory Hotlist (Ctrl+D)
2001 cm_GoToRoot Navigation Go to root folder (Ctrl+\)
2002 cm_GoToParent Navigation Go to parent folder (Ctrl+PgUp)
2003 cm_GoToDir Navigation Open folder or (executable) archive under cursor (Ctrl+PgDn)
2121 cm_OpenDesktop Navigation Go to the virtual folder Desktop
2122 cm_OpenDrives Navigation Go to the virtual folder This PC (My Computer)
2123 cm_OpenControls Navigation Go to the virtual folder Control Panel
2124 cm_OpenFonts Navigation Go to the virtual folder Fonts
2125 cm_OpenNetwork Navigation Go to the virtual folder Network (Network neighborhood)
2126 cm_OpenPrinters Navigation Go to the virtual folder Printers
2127 cm_OpenRecycled Navigation Go to the virtual folder Recycle Bin
500 cm_CdTree Navigation Open the directory tree dialog to navigate to a folder (Alt+F10)
2024 cm_TransferLeft Navigation Show folder under cursor in left panel (Ctrl+Left)
2025 cm_TransferRight Navigation Show folder under cursor in right panel (Ctrl+Right)
2912 cm_EditPath Navigation Edit path field above file list
2049 cm_GoToFirstEntry [<number>] Navigation Place cursor on first folder or file and move down the specified number of times
2050 cm_GoToFirstFile [<number>] Navigation Place cursor on first file and move down the specified number of times
2051 cm_GotoNextDrive Navigation Go one drive up (C->D)
2052 cm_GotoPreviousDrive Navigation Go one drive down (D->C)
2053 cm_GotoNextSelected Navigation Go to next selected file
2054 cm_GotoPrevSelected Navigation Go to previous selected file
2055 cm_GotoNext Navigation Go to next file
2056 cm_GotoPrev Navigation Go to previous file
2057 cm_GoToLast Navigation Go to last file
2061-2086 cm_GotoDrive[A,C-F,Z] Navigation Go to the specified drive
3025 cm_OpenDriveByIndex [<drive_idx>] Navigation Go to drive by index number in drive button bar or drive combo-box
610 cm_HelpIndex Help Open the Help Index page
620 cm_Keyboard Help Open Help page "Keyboard layout"
630 cm_Register Help Open Help page "How to order Total Commander"
640 cm_VisitHomepage Help Visit https://www.ghisler.com/
650 cm_CheckForUpdates Help Check for Total Commander updates
690 cm_About Help Show Total Commander's version information
24340 cm_Exit [0-31] Window Exit or restart Total Commander
2000 cm_Minimize Window Minimize Total Commander
2015 cm_Maximize Window Maximize Total Commander window
2016 cm_Restore Window Restore Total Commander window (from maximized state)
2004 cm_ClearCmdLine Command line Clear the command line
2005 cm_NextCommand Command line Next command line
2006 cm_PrevCommand Command line Previous command line
2019 cm_AddPathToCmdline Command line Copy path to command line
3021 cm_AddFileNameToCmdline Command line Copy filename to command line (Ctrl+Enter)
3022 cm_AddPathAndFileNameToCmdline Command line Copy full filename (including path) to command line (Ctrl+Shift+Enter)
3023 cm_ShowCmdLineHistory [<on_off_toggle>] Command line Open/close command line history (ALT+F8)
2400 cm_MultiRenameFiles Tools Open the Multi-Rename Tool
506 cm_SysInfo Tools System information
559 cm_OpenTransferManager Tools Open the Background Transfer Manager
501 cm_SearchFor Tools Open the Search tool (Alt+F7)
517 cm_SearchForInCurdir [<drive_letter>,<char_code>] Tools Search in folder under the cursor or in specified drive
545 cm_SearchStandalone Tools Search in separate process (Alt+Shift+F7)
2020 cm_FileSync Tools Synchronize folders
507 cm_Associate Tools Define associations
519 cm_InternalAssociate Tools Define internal associations
2022 cm_CompareFilesByContent Tools File comparison
2040 cm_IntCompareFilesByContent Tools Use internal compare tool
2924 cm_CommandBrowser Tools Browse and create internal commands
2941 cm_SeparateQuickView [<on_off_toggle>] Tools Enable/disable Separate Quick view window
2942 cm_SeparateQuickInternalOnly [<on_off_toggle>] Tools Enable/disable Separate Quick view window without plugins/multimedia
2946 cm_UpdateQuickView Tools Reload file in Quick view panel
2901 cm_VisButtonbar [<on_off_toggle>] View Show/hide button bar
2944 cm_VisButtonbar2 [<on_off_toggle>] View Show/hide vertical button bar
2902 cm_VisDriveButtons [<on_off_toggle>] View Show/hide drive button bars
2903 cm_VisTwoDriveButtons [<on_off_toggle>] View Show/hide two drive bars
2904 cm_VisFlatDriveButtons [<on_off_toggle>] View Buttons: Flat/normal mode
2905 cm_VisFlatInterface [<on_off_toggle>] View Interface: Flat/normal mode
2906 cm_VisDriveCombo [<on_off_toggle>] View Show/hide drive combobox
2907 cm_VisCurDir [<on_off_toggle>] View Show/hide current folder
2926 cm_VisBreadCrumbs [<on_off_toggle>] View Show/hide Breadcrumb bar
2908 cm_VisTabHeader [<on_off_toggle>] View Show/hide tab header (sorting)
2909 cm_VisStatusbar [<on_off_toggle>] View Show/hide status bar
2910 cm_VisCmdLine [<on_off_toggle>] View Show/hide Command line
2911 cm_VisKeyButtons [<on_off_toggle>] View Show/hide function key buttons
2914 cm_ShowHint View Show full filename of file under cursor in a tooltip (and place mouse cursor on it)
2915 cm_ShowQuickSearch View Start quick search for files in the active panel
3018 cm_QuickSearch View Start quick search for files in the active panel (filter off)
3019 cm_QuickFilter [1] View Start quick search for files in the active panel (filter on); parameter "1" restores last used quick filter (like Ctrl+Shift+S)
305 cm_VerticalPanels [<on_off_toggle>] View File windows above each other
2010 cm_SwitchLongNames [<on_off_toggle>] View Turn long names on and off
540 cm_RereadSource [1-3] View Active panel: Refresh contents
2023 cm_ShowOnlySelected View Hide files which aren't selected
2011 cm_SwitchHidSys [<on_off_toggle>] View Turn hidden/system files on and off
3013 cm_SwitchHid [<on_off_toggle>] View Turn hidden files on and off
3014 cm_SwitchSys [<on_off_toggle>] View Turn system files on and off
2013 cm_Switch83Names [<on_off_toggle>] View Turn 8.3 names lowercase on/off
2012 cm_SwitchDirSort [<on_off_toggle>] View Turn on/off sorting of folders by name
2026 cm_DirBranch [<on_off_toggle>] View Show all files in current folder and all subfolders
2046 cm_DirBranchSel [<on_off_toggle>] View Show selected files and all files in selected folders
909 cm_50Percent [[-]<percentage>] View Active panel: Resize panel to 50% of the available width (or increase/decrease panel width with specified percentage)
910 cm_100Percent [[-]<percentage>] View Active panel: Resize panel to 100% (or specified percentage) of the available width; negative percentage resizes the left panel
2916 cm_VisDirTabs [<on_off_toggle>] View Show/hide folder tabs
2923 cm_VisXPthemeBackground [<on_off_toggle>] View Show/hide XP theme background
2917 cm_SwitchOverlayIcons [<on_off_toggle>] View Switch icon overlays on/off
2919 cm_VisHistHotButtons [<on_off_toggle>] View Show/hide Directory Hotlist and Folder History buttons
2921 cm_SwitchWatchDirs [<on_off_toggle>] View Enable/disable auto-refresh file list (setting is not saved)
2922 cm_SwitchIgnoreList [<on_off_toggle>] View Enable/disable ignore list file to not show filenames
2925 cm_SwitchX64Redirection [<on_off_toggle>] View 32-bit TC on 64-bit Windows: Redirection of system32 folder off/on
3200 cm_SeparateTreeOff View Disable separate tree panel
3201 cm_SeparateTree1 View One separate tree panel
3202 cm_SeparateTree2 View Two separate tree panels
3203 cm_SwitchSeparateTree View Switch between 0, 1, or 2 separate tree panels (Ctrl+Shift+F8)
3204 cm_ToggleSeparateTree1 View One separate tree panel on/off
3205 cm_ToggleSeparateTree2 View Two separate tree panels on/off
2948 cm_ChangeArchiveEncoding View Show popup menu to change the encoding of filenames in an archive
2950 cm_SwitchDarkmode View Turn dark mode on and off
2951 cm_EnableDarkmode View Turn dark mode on
2952 cm_DisableDarkmode View Turn dark mode off
2957 cm_SwitchColorsByFileType [<on_off_toggle>] View Enable/disable color filters
2959 cm_SwitchFileTipWindows [<on_off_toggle>] View Enable/disable file tooltips
2953 cm_ZoomIn [<percentage>] View Enlarge thumbnails or set the size to specified percentage (10-200)
2954 cm_ZoomOut [<percentage>] View Make thumbnails smaller or set the size to specified percentage (10-200)
701-899 cm_UserMenu[1-10] Start menu Execute Start menu item 1-199
3001 cm_OpenNewTab Folder tabs Create new folder tab (Ctrl+T)
3002 cm_OpenNewTabBg Folder tabs Create new folder tab (stay in current folder tab) (Ctrl+Shift+T)
3027 cm_OpenNewTabOther Folder tabs Create new folder tab in inactive panel (duplicate of current tab in active panel)
3028 cm_OpenNewTabBgOther Folder tabs Create new folder tab in inactive panel (duplicate of current tab in active panel) (stay in current folder tab)
3003 cm_OpenDirInNewTab Folder tabs Create new folder tab for folder under cursor (Ctrl+Up)
3004 cm_OpenDirInNewTabOther Folder tabs Create new folder tab in inactive panel for folder under cursor (Ctrl+Shift+Up)
3005 cm_SwitchToNextTab Folder tabs Switch to next Tab (as Ctrl+Tab)
3006 cm_SwitchToPreviousTab Folder tabs Switch to previous Tab (Ctrl+Shift+Tab)
3015 cm_MoveTabLeft Folder tabs Move current tab to the left
3016 cm_MoveTabRight Folder tabs Move current tab to the right
3007 cm_CloseCurrentTab [1] Folder tabs Close tab; parameter "1" disables confirmation when closing a locked tab
3008 cm_CloseAllTabs [1-3] Folder tabs Close all tabs; parameter disables various confirmations
3017 cm_CloseDuplicateTabs Folder tabs Close duplicate tabs
3009 cm_DirTabsShowMenu Folder tabs Show tab menu
3024 cm_RenameTab Folder tabs Rename current tab
3010 cm_ToggleLockCurrentTab Folder tabs Lock/unlock current folder tab
3012 cm_ToggleLockDcaCurrentTab Folder tabs Lock/unlock current folder tab (when locked, folder change allowed)
3029 cm_SetTabOptionNormal Folder tabs Unlock current folder tab
3030 cm_SetTabOptionPathLocked Folder tabs Lock current folder tab
3031 cm_SetTabOptionPathResets Folder tabs Lock current folder tab (folder change allowed)
3032 cm_SetAllTabsOptionNormal Folder tabs Unlock all folder tabs
3033 cm_SetAllTabsOptionPathLocked Folder tabs Lock all folder tabs
3034 cm_SetAllTabsOptionPathResets Folder tabs Lock all folder tabs (folder change allowed)
535 cm_ExchangeWithTabs Folder tabs Swap left and right panel (all folder tabs) (Ctrl+Shift+U)
3011 cm_GoToLockedDir Folder tabs Go to the base folder of the locked folder tab
5515 cm_SrcTabsList [0-3] Folder tabs Show a list of all folder tabs (Ctrl+Shift+A); parameters: 0 or none (show tab titles), add 1 (show paths), add 2 (open quick search)
5516 cm_TrgTabsList [0-3] Folder tabs Inactive panel: Show a list of all folder tabs; parameters: 0 or none (show tab titles), add 1 (show paths), add 2 (open quick search)
5517 cm_LeftTabsList [0-3] Folder tabs Left panel: Show a list of all folder tabs; parameters: 0 or none (show tab titles), add 1 (show paths), add 2 (open quick search)
5518 cm_RightTabsList [0-3] Folder tabs Right panel: Show a list of all folder tabs; parameters: 0 or none (show tab titles), add 1 (show paths), add 2 (open quick search)
5001-5099 cm_SrcActivateTab[1-10] [[-]<number>] Folder tabs Active panel: Activate folder tab 1-99 (or tab number specified by parameter, negative means counting from the end)
5101-5199 cm_TrgActivateTab[1-10] [[-]<number>] Folder tabs Inactive panel: Activate folder tab 1-99 (or tab number specified by parameter, negative means counting from the end)
5201-5299 cm_LeftActivateTab[1-10] [[-]<number>] Folder tabs Left panel: Activate folder tab 1-99 (or tab number specified by parameter, negative means counting from the end)
5301-5399 cm_RightActivateTab[1-10] [[-]<number>] Folder tabs Right panel: Activate folder tab 1-99 (or tab number specified by parameter, negative means counting from the end)
6001-6099 cm_SrcSortByCol[1-10,99] Sort Active panel: Sort by column 1-99
6101-6199 cm_TrgSortByCol[1-10,99] Sort Inactive panel: Sort by column 1-99
6201-6299 cm_LeftSortByCol<1-10,99> Sort Left panel: Sort by column 1-99
6301-6399 cm_RightSortByCol[1-10,99] Sort Right panel: Sort by column 1-99
271-299 cm_SrcCustomView[1-9] Custom columns Active panel: Activate custom columns view 1-29
7501-7599 Custom columns Active panel: Activate custom columns view 1-99
421-449 cm_TrgCustomView[1-9] Custom columns Inactive panel: Activate custom columns view 1-29
71-99 cm_LeftCustomView[1-9] Custom columns Left panel: Activate custom columns view 1-29
6501-6599 Custom columns Left panel: Activate custom columns view 1-99
171-199 cm_RightCustomView[1-9] Custom columns Right panel: Activate custom columns view 1-29
7001-7099 Custom columns Right panel: Activate custom columns view 1-99
5501 cm_SrcNextCustomView Custom columns Active panel: Next custom columns view
5502 cm_SrcPrevCustomView Custom columns Active panel: Previous custom columns view
5503 cm_TrgNextCustomView Custom columns Inactive panel: Next custom columns view
5504 cm_TrgPrevCustomView Custom columns Inactive panel: Previous custom columns view
5505 cm_LeftNextCustomView Custom columns Left panel: Next custom columns view
5506 cm_LeftPrevCustomView Custom columns Left panel: Previous custom columns view
5507 cm_RightNextCustomView Custom columns Right panel: Next custom columns view
5508 cm_RightPrevCustomView Custom columns Right panel: Previous custom columns view
5512 cm_LoadAllOnDemandFields Custom columns Load on demand fields for all files
5513 cm_LoadSelOnDemandFields Custom columns Load on demand fields for selected files
5514 cm_ContentStopLoadFields Custom columns Stop loading on demand fields or delayed fields in custom columns view or thumbnails view
5510 cm_LeftSwitchToThisCustomView [0-99] Custom columns Left panel: Activate custom columns view 0-99
(for scripting, lparam=view no.)
5511 cm_RightSwitchToThisCustomView [0-99] Custom columns Right panel: Activate custom columns view 0-99
(for scripting, lparam=view no.)
2947 cm_ToggleAutoViewModeSwitch [<on_off_toggle>] Custom view Turn automatic view mode switching on/off
8500 cm_SrcViewMode0 Custom view Active panel: Activate default view mode
8501-8749 cm_SrcViewMode[1-9] Custom view Active panel: Activate custom view 1-249
8750 cm_TrgViewMode0 Custom view Inactive panel: Activate default view mode
8751-8999 cm_TrgViewMode[1-9] Custom view Inactive panel: Activate custom view 1-249
8000 cm_LeftViewMode0 Custom view Left panel: Activate default view mode
8001-8249 cm_LeftViewMode[1-9] Custom view Left panel: Activate custom view 1-249
8250 cm_RightViewMode0 Custom view Right panel: Activate default view mode
8251-8499 cm_RightViewMode[1-9] Custom view Right panel: Activate custom view 1-249
-2 cd <folder>

[<folder>\]<file>

[<folder>\]<filter>

shell:<virtual_folder>

 ::{<folder_GUID>}

<network_share> [/user:[<username>]]
Has parameters Navigate to a folder or file or set a filter to only show certain file types; the syntax of <filter> is largely the the same as the parameter of the SelectFiles command; <file> and <filter> cannot be used when the cd command is used in a combined statement; "/user:" must be in lowercase
-3 OpenTabs[L,R] [<filename>] Has parameters Replace the folder tabs with those from a .tab file; command modifiers: <none> (active panel), L (left panel), R (right panel)
-4 AppendTabs[L,R] [<filename>] Has parameters Add folder tabs from a .tab file; command modifiers: <none> (active panel), L (left panel), R (right panel)
-5 FtpOpen <stored_ftp_connection> [ |[*][<path>] ] Has parameters Open a stored ftp connection; use "|" to specify a different start path; use "*" to always open the ftp session in the active panel (regardless of the default panel for ftp sessions)
-6 SyncOpen [=][<stored_sync>] Has parameters Open Synchronize Directories with a stored synchronize operation; "=" starts comparing immediately (uses last used options if no stored operation is specified)
-7 LoadSearch [[=[=]]<stored_search>] Has parameters Open Search with a stored search; "=" starts searching immediately; "==" starts searching immediately and feeds the results to TC's file panel
-8 OpenBar <filename> Has parameters Load button bar from file
-9 MultiRename [=[=]]<stored_multirename> Has parameters Open the Multi-Rename Tool with a stored rename operation; "=" starts renaming immediately; "==" starts renaming immediately and closes the rename tool afterwards
-10 OpenCustomView[L,R,S,T,B] <custom_columns_name> Has parameters Switch to custom columns view; command modifiers: L (left panel), R (right panel), S (active panel), T (inactive panel), B (both panels)
-11 SelectFiles[L,R,T][D,B][S][U] <filename_masks> [ | <filename_masks> ]

><stored_search>
Has parameters (un)Select files; command modifiers: L (left panel), R (right panel), T (inactive panel), D (folders only), B (files and folders), S (Shift switches between files only and files+folders), U (unselect instead of select)
-12 cm_Wait <milliseconds> Has parameters Wait x milliseconds
-13 SaveTabs [<filename>] Has parameters Active panel: Save folder tabs to .tab file
-14 SaveTabsL [<filename>] Has parameters Left panel: Save folder tabs to .tab file
-15 SaveTabsR [<filename>] Has parameters Right panel: Save folder tabs to .tab file
-16 SaveTabs2 [<filename>] Has parameters Save folder tabs of both panels to .tab file, tabs of active panel first
-17 SaveTabs2L [<filename>] Has parameters Save folder tabs of both panels to .tab file, tabs of left panel first
-18 SaveTabs2R [<filename>] Has parameters Save folder tabs of both panels to .tab file, tabs of right panel first
-19 OpenLanguageFile [<filename>] Has parameters Switch language by specifying a WCMD_*.LNG file, or change main menu only by specifying a WCMD_*.MNU file; specify nothing (or .MNU for menu only) to switch to the internal English language
-20 OpenBar1 <filename> Has parameters Load main button bar from file
-21 OpenBar2 <filename> Has parameters Load vertical button bar from file
-22 SaveSelection[A,W] <filename> Has parameters Save selection to file; command modifiers: A (ANSI), W (UTF-16), <none> (UTF-16 for NT based systems)
-23 SaveDetails[H][A,W] <filename> Has parameters Save selection with all details to file; command modifiers: H (include headers), A (ANSI), W (UTF-16)
-24 LoadSelection <filename> Has parameters Load selection from file
-25 LoadList[0] <filename> Has parameters Load complete list (like search result) from file; modifier: 0 (suppress errors for files not found)
-26 ZipFromList [-m] [-o,-os,-on] [-c[0-3]] [-[0-9]] <archive> <list_file> Has parameters Pack files from list; <archive> needs to be quoted if it is specified in the Parameters field and contains spaces, <list_file> needs to be unquoted and specified in Parameters field
-27 OpenAttributes [=] [+f,-f] [+a,-a] [+r,-r] [+h,-h] [+s,-s] [+L[1,2]] [+c] [+d[<date>]] [+t[<time>]] [<stored_plugin_attributes>] Has parameters Open the Change Attributes dialog; "=" starts changing the attributes immediately and closes the dialog
-28 OpenBarMenu <filename> Has parameters Open button bar file as dropdown menu (only works when there is a top button bar)

Notes

Positive numbers in front of commands can be used instead of the names of the commands (but not with parameters). Negative numbers are just used for translation and cannot be used this way.

Some ranges of command numbers have not all been given corresponding names. More names can be added to the Totalcmd.inc file if the user wants to use a name rather than a number. Be aware though that this file will be overwritten when you install an update of Total Commander.

Commands with numerical parameters also support ? or ?<number> as a parameter. When you use this parameter, Total Commander will prompt you to enter a number.

Explanation of some parameters

<on_off_toggle>
1 Turn the feature on
-1 or 2 Turn the feauture off
<no_value> or 0 Toggle the state of the feature
<sort_action>
<no_value> or 0 Change sorting key or sorting direction (same action as clicking a column header)
1 Change sorting key, sort in ascending order
2 Change sorting key, sort in descending order
4 Add extra sorting key (ascending order)
5 Add extra sorting key (descending order)
8 Save current sort order
9 Restore saved sort order
<drive_idx>
This is an index number of a drive in the drive button bar, or drive combo-box if drive button bar is disabled
1 to 99 Number of the first, second, etc. drive (counted from the beginning)
101 and up Number of the first, second, etc. entry (drives and entries like Network or Documents)
-1 to -99 Number of the first, second, etc. drive (counted from the back)
-101 and down Number of the first, second, etc. entry (counted from the back)