Totalcmd.inc: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Corrected name of wiki page)
(improved description of file format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
The file '''Totalcmd.inc''' located in the program folder of [[Total Commander]] defines the names and short descriptions of [[internal command]]s. The file can be edited to add more commands. For example more <code>cm_UserMenu&lt;number></code> commands (to run user menu entries) or more <code>cm_GotoDrive&lt;drive_letter></code> commands (to go to certain drives). The number of these commands is rather limited by default. Be aware though, that the file gets overwritten when you install an update of Total Commander. For this reason, it's probably better to create [[user-defined command]]s instead or use other commands that accept parameters.
__NOEDITSECTION__


This is the file totalcmd.inc which contains all [[Internal command|Internal Commands of Total Commander]] available for user with a short description what they do.
== File format ==
The file is a plain text file and its contents are structured as follows:


The format is the following:
<pre>
[________________<category>________________]=0
<command>=<number>;<description>
<command>=<number>;<description>
<command>=<number>;<description>
<command>=<number>;<description>
..


command=code;description
[________________<category>________________]=0
<command>=<number>;<description>
<command>=<number>;<description>
..
</pre>


If you use somewhere in Total Commander one of those commands you may use instead the full name of the command only its code. This has the advantage that those commands are work even if they are not defined in the totalcmd.inc, especially useful with the  
== Other languages ==
cm_usercommand and cm_gotodrive commands.
For a non English language the category names and the descriptions of the commands are defined in the file <code>LANGUAGE\WCMD_&lt;language_code>.INC</code> in the program folder of Total Commander.


The file totalcmd.inc can be found in the program directory of Total Commander.
== See also ==
* [[List of internal commands]]


 
[[category:TC files]]
{| border="1" cellspacing="0" cellpadding="5" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:96%; empty-cells:show;"
[[category:Internal commands| {{PAGENAME}}]]
|colspan="3"|<font color="#f9f9f9">
===Source===
</font>
[________________Source________________]=0
|-
|
=====cm_SrcComments=====
|=300
|;Source: Show comments
|-
|
=====cm_SrcShort=====
|=301
|;Source: Only file names
|-
|
=====cm_SrcLong=====
|=302
|;Source: All file details
|-
|
=====cm_SrcTree=====
|=303
|;Source: Directory tree
|-
|
=====cm_SrcQuickview=====
|=304
|;Source: Quick view panel
|-
|
=====cm_VerticalPanels=====
|=305
|;File windows above each other
|-
|
=====cm_SrcExecs=====
|=311
|;Source: Only programs
|-
|
=====cm_SrcAllFiles=====
|=312
|;Source: All files
|-
|
=====cm_SrcUserSpec=====
|=313
|;Source: Last selected
|-
|
=====cm_SrcUserDef=====
|=314
|;Source: Select user type
|-
|
=====cm_SrcByName=====
|=321
|;Source: Sort by name
|-
|
=====cm_SrcByExt=====
|=322
|;Source: Sort by extension
|-
|
=====cm_SrcBySize=====
|=323
|;Source: Sort by size
|-
|
=====cm_SrcByDateTime=====
|=324
|;Source: Sort by date
|-
|
=====cm_SrcUnsorted=====
|=325
|;Source: Unsorted
|-
|
=====cm_SrcNegOrder=====
|=330
|;Source: Reversed order
|-
|
=====cm_SrcOpenDrives=====
|=331
|;Source: Open drive list
|-
|
=====cm_SrcThumbs=====
|=269
|;Source: Thumbnail view
|-
|
=====cm_SrcCustomViewMenu=====
|=270
|;Source: Custom view menu
|-
|colspan="3"|<font color="#f9f9f9">
===Left===
</font>
[________________Left________________]=0
|-
|
=====cm_LeftComments=====
|=100
|;Left: Show comments
|-
|
=====cm_LeftShort=====
|=101
|;Left: Only file names
|-
|
=====cm_LeftLong=====
|=102
|;Left: All file details
|-
|
=====cm_LeftTree=====
|=103
|;Left: Directory tree
|-
|
=====cm_LeftQuickview=====
|=104
|;Left: Quick view panel
|-
|
=====cm_LeftExecs=====
|=111
|;Left: Only programs
|-
|
=====cm_LeftAllFiles=====
|=112
|;Left: All files
|-
|
=====cm_LeftUserSpec=====
|=113
|;Left: Last selected
|-
|
=====cm_LeftUserDef=====
|=114
|;Left: Select user type
|-
|
=====cm_LeftByName=====
|=121
|;Left: Sort by name
|-
|
=====cm_LeftByExt=====
|=122
|;Left: Sort by extension
|-
|
=====cm_LeftBySize=====
|=123
|;Left: Sort by size
|-
|
=====cm_LeftByDateTime=====
|=124
|;Left: Sort by date
|-
|
=====cm_LeftUnsorted=====
|=125
|;Left: Unsorted
|-
|
=====cm_LeftNegOrder=====
|=130
|;Left: Reversed order
|-
|
=====cm_LeftOpenDrives=====
|=131
|;Left: Open drive list
|-
|
=====cm_LeftDirBranch=====
|=2034
|;Left: Branch view
|-
|
=====cm_LeftThumbs=====
|=69
|;Left: Thumbnail view
|-
|
=====cm_LeftCustomViewMenu=====
|=70
|;Left: Custom view menu
|-
|colspan="3"|<font color="#f9f9f9">
===Right===
</font>
[________________Right________________]=0
|-
|
=====cm_RightComments=====
|=200
|;Right: Show comments
|-
|
=====cm_RightShort=====
|=201
|;Right: Only file names
|-
|
=====cm_RightLong=====
|=202
|;Right: All file details
|-
|
=====cm_RightTree=====
|=203
|;Right: Directory tree
|-
|
=====cm_RightQuickview=====
|=204
|;Right: Quick view panel
|-
|
=====cm_RightExecs=====
|=211
|;Right: Only programs
|-
|
=====cm_RightAllFiles=====
|=212
|;Right: All files
|-
|
=====cm_RightUserSpec=====
|=213
|;Right: Last selected
|-
|
=====cm_RightUserDef=====
|=214
|;Right: Select user type
|-
|
=====cm_RightByName=====
|=221
|;Right: Sort by name
|-
|
=====cm_RightByExt=====
|=222
|;Right: Sort by extension
|-
|
=====cm_RightBySize=====
|=223
|;Right: Sort by size
|-
|
=====cm_RightByDateTime=====
|=224
|;Right: Sort by date
|-
|
=====cm_RightUnsorted=====
|=225
|;Right: Unsorted
|-
|
=====cm_RightNegOrder=====
|=230
|;Right: Reversed order
|-
|
=====cm_RightOpenDrives=====
|=231
|;Right: Open drive list
|-
|
=====cm_RightDirBranch=====
|=2035
|;Right: branch view
|-
|
=====cm_RightThumbs=====
|=169
|;Right: Thumbnail view
|-
|
=====cm_RightCustomViewMenu=====
|=170
|;Right: Custom view menu
|-
|colspan="3"|<font color="#f9f9f9">
===FileOperations===
</font>
[________________FileOperations________________]=0
|-
|
=====cm_List=====
|=903
|;View with Lister
|-
|
=====cm_ListInternalOnly=====
|=1006
|;Lister without plugins/multimedia
|-
|
=====cm_Edit=====
|=904
|;Edit (Notepad)
|-
|
=====cm_Copy=====
|=905
|;Copy files
|-
|
=====cm_CopySamepanel=====
|=3100
|;Copy within panel
|-
|
=====cm_CopyOtherpanel=====
|=3101
|;Copy to other
|-
|
=====cm_RenMov=====
|=906
|;Rename/Move files
|-
|
=====cm_MkDir=====
|=907
|;Make directory
|-
|
=====cm_Delete=====
|=908
|;Delete files
|-
|
=====cm_TestArchive=====
|=518
|;Test selected archives
|-
|
=====cm_PackFiles=====
|=508
|;Pack files
|-
|
=====cm_UnpackFiles=====
|=509
|;Unpack all
|-
|
=====cm_RenameOnly=====
|=1002
|;Rename (Shift+F6)
|-
|
=====cm_MoveOnly=====
|=1005
|;Move (F6)
|-
|
=====cm_Properties=====
|=1003
|;Properties dialog
|-
|
=====cm_CreateShortcut=====
|=1004
|;Create a shortcut
|-
|
=====cm_Return=====
|=1001
|;Simulate: Return pressed
|-
|
=====cm_OpenAsUser=====
|=2800
|;Open program under cursor as different user
|-
|
=====cm_Split=====
|=560
|;Split file into pieces
|-
|
=====cm_Combine=====
|=561
|;Combine partial files
|-
|
=====cm_Encode=====
|=562
|;Encode MIME/UUE/XXE
|-
|
=====cm_Decode=====
|=563
|;Decode MIME/UUE/XXE/BinHex
|-
|
=====cm_CRCcreate=====
|=564
|;Create CRC checksums
|-
|
=====cm_CRCcheck=====
|=565
|;Verify CRC checksums
|-
|
=====cm_SetAttrib=====
|=502
|;Change attributes
|-
|colspan="3"|<font color="#f9f9f9">
===Configuration===
</font>
[________________Configuration________________]=0
|-
|
=====cm_Config=====
|=490
|;Conf: Layout (first page)
|-
|
=====cm_DisplayConfig=====
|=486
|;Conf: Display
|-
|
=====cm_FontConfig=====
|=492
|;Conf: Font
|-
|
=====cm_ColorConfig=====
|=494
|;Conf: Colors
|-
|
=====cm_ConfTabChange=====
|=497
|;Conf: Tabstops
|-
|
=====cm_DirTabsConfig=====
|=488
|;Conf: Directory tabs
|-
|
=====cm_CustomColumnConfig=====
|=483
|;Conf: Custom colums
|-
|
=====cm_CustomColumnDlg=====
|=2920
|;Change current custom columns
|-
|
=====cm_LanguageConfig=====
|=499
|;Conf: Language
|-
|
=====cm_Config2=====
|=516
|;Conf: Operation
|-
|
=====cm_EditConfig=====
|=496
|;Conf: Viewer/Editor
|-
|
=====cm_CopyConfig=====
|=487
|;Conf: Copy/Delete
|-
|
=====cm_FtpConfig=====
|=489
|;FTP options
|-
|
=====cm_PluginsConfig=====
|=484
|;Conf: Plugins
|-
|
=====cm_ThumbnailsConfig=====
|=482
|;Conf: Thumbnails
|-
|
=====cm_PackerConfig=====
|=491
|;Conf: Packer
|-
|
=====cm_ZipPackerConfig=====
|=485
|;Conf: ZIP packer
|-
|
=====cm_Confirmation=====
|=495
|;Conf: Misc, Confirmation
|-
|
=====cm_ConfigSavePos=====
|=493
|;Conf: Save position
|-
|
=====cm_ButtonConfig=====
|=498
|;Conf: Button bar
|-
|
=====cm_ConfigSaveSettings=====
|=580
|;Save current paths etc.
|-
|
=====cm_ConfigChangeIniFiles=====
|=581
|;Open ini files in notepad
|-
|
=====cm_ChangeStartMenu=====
|=700
|;Change Start menu
|-
|colspan="3"|<font color="#f9f9f9">
===Network===
</font>
[________________Network________________]=0
|-
|
=====cm_NetConnect=====
|=512
|;Network connections
|-
|
=====cm_NetDisconnect=====
|=513
|;Disconnect network drives
|-
|
=====cm_NetShareDir=====
|=514
|;Share directory
|-
|
=====cm_NetUnshareDir=====
|=515
|;Unshare directory
|-
|
=====cm_AdministerServer=====
|=2204
|;Connect to admin share to open \\server\c$ etc.
|-
|
=====cm_ShowFileUser=====
|=2203
|;Which remote user has opened a local file
|-
|colspan="3"|<font color="#f9f9f9">
===Misc===
</font>
[________________Misc________________]=0
|-
|
=====cm_GetFileSpace=====
|=503
|;Calculate space
|-
|
=====cm_VolumeId=====
|=505
|;Volume label
|-
|
=====cm_VersionInfo=====
|=510
|;Version information
|-
|
=====cm_ExecuteDOS=====
|=511
|;Start DOS
|-
|
=====cm_CompareDirs=====
|=533
|;Compare dirs
|-
|
=====cm_CompareDirsWithSubdirs=====
|=536
|;Also mark subdirs not present in other dir
|-
|
=====cm_ContextMenu=====
|=2500
|;Show context menu
|-
|
=====cm_SyncChangeDir=====
|=2600
|;Synchronous directory changing in both windows
|-
|
=====cm_EditComment=====
|=2700
|;Edit file comment
|-
|
=====cm_FocusLeft=====
|=4001
|;Focus on left file list
|-
|
=====cm_FocusRight=====
|=4002
|;Focus on right file list
|-
|
=====cm_FocusCmdLine=====
|=4003
|;Focus on command line
|-
|
=====cm_CountDirContent=====
|=2014
|;Calculate space occupied by subdirs in current dir
|-
|
=====cm_UnloadPlugins=====
|=2913
|;Unload all plugins
|-
|
=====cm_DirMatch=====
|=534
|;Mark newer
|-
|
=====cm_Exchange=====
|=531
|;Swap panels
|-
|
=====cm_MatchSrc=====
|=532
|;target=Source
|-
|
=====cm_ReloadSelThumbs=====
|=2918
|;Re-load selected thumbnails
|-
|colspan="3"|<font color="#f9f9f9">
===ParallelPort===
</font>
[________________ParallelPort________________]=0
|-
|
=====cm_DirectCableConnect=====
|=2300
|;Connect to other PC by cable
|-
|
=====cm_NTinstallDriver=====
|=2301
|;Install parallel port driver on NT
|-
|
=====cm_NTremoveDriver=====
|=2302
|;Remove parallel port driver on NT
|-
|colspan="3"|<font color="#f9f9f9">
===Print===
</font>
[________________Print________________]=0
|-
|
=====cm_PrintDir=====
|=2027
|;Print current directory (with preview)
|-
|
=====cm_PrintDirSub=====
|=2028
|;Print dir with subdirs
|-
|
=====cm_PrintFile=====
|=504
|;Print file
|-
|colspan="3"|<font color="#f9f9f9">
===Mark===
</font>
[________________Mark________________]=0
|-
|
=====cm_SpreadSelection=====
|=521
|;Select group
|-
|
=====cm_ShrinkSelection=====
|=522
|;Unselect group
|-
|
=====cm_SelectAll=====
|=523
|;Select all
|-
|
=====cm_ClearAll=====
|=524
|;Unselect all
|-
|
=====cm_ExchangeSelection=====
|=525
|;Invert selection
|-
|
=====cm_SelectCurrentExtension=====
|=527
|;Select all files with same ext.
|-
|
=====cm_UnselectCurrentExtension=====
|=528
|;Unselect all files with same ext.
|-
|
=====cm_RestoreSelection=====
|=529
|;Selection before last operation
|-
|
=====cm_SaveSelection=====
|=530
|;Temporarily save selection
|-
|
=====cm_SaveSelectionToFile=====
|=2031
|;Save file selection to file
|-
|
=====cm_LoadSelectionFromFile=====
|=2032
|;Read file selection from file
|-
|
=====cm_LoadSelectionFromClip=====
|=2033
|;Read file selection from clipboard
|-
|colspan="3"|<font color="#f9f9f9">
===Security===
</font>
[________________Security________________]=0
|-
|
=====cm_EditPermissionInfo=====
|=2200
|;Permissions dialog (NTFS)
|-
|
=====cm_EditPersmissionInfo=====
|=2200
|;Typo...
|-
|
=====cm_EditAuditInfo=====
|=2201
|;File auditing (NTFS)
|-
|
=====cm_EditOwnerInfo=====
|=2202
|;Take ownership (NTFS)
|-
|colspan="3"|<font color="#f9f9f9">
===Clipboard===
</font>
[________________Clipboard________________]=0
|-
|
=====cm_CutToClipboard=====
|=2007
|;(32-bit) Cut selected files to clipboard
|-
|
=====cm_CopyToClipboard=====
|=2008
|;(32-bit) Copy selected files to clipboard
|-
|
=====cm_PasteFromClipboard=====
|=2009
|;(32-bit) Paste from clipboard to current dir
|-
|
=====cm_CopyNamesToClip=====
|=2017
|;Copy filenames to clipboard
|-
|
=====cm_CopyFullNamesToClip=====
|=2018
|;Copy names with full path
|-
|
=====cm_CopyNetNamesToClip=====
|=2021
|;Copy names with UNC path
|-
|
=====cm_CopySrcPathToClip=====
|=2029
|;Copy source path to clipboard
|-
|
=====cm_CopyTrgPathToClip=====
|=2030
|;Copy target path to clipboard
|-
|colspan="3"|<font color="#f9f9f9">
===FTP===
</font>
[________________FTP________________]=0
|-
|
=====cm_FtpConnect=====
|=550
|;Connect to FTP
|-
|
=====cm_FtpNew=====
|=551
|;New FTP connection
|-
|
=====cm_FtpDisconnect=====
|=552
|;Disconnect from FTP
|-
|
=====cm_FtpHiddenFiles=====
|=553
|;Show hidden FTP files
|-
|
=====cm_FtpAbort=====
|=554
|;Abort current FTP command
|-
|
=====cm_FtpResumeDownload=====
|=555
|;Resume aborted download
|-
|
=====cm_FtpSelectTransferMode=====
|=556
|;Select Binary, ASCII or Auto mode
|-
|
=====cm_FtpAddToList=====
|=557
|;Add selected files to download list
|-
|
=====cm_FtpDownloadList=====
|=558
|;Download files in download list
|-
|colspan="3"|<font color="#f9f9f9">
===Navigation===
</font>
[________________Navigation________________]=0
|-
|
=====cm_GotoPreviousDir=====
|=570
|;Go back
|-
|
=====cm_GotoNextDir=====
|=571
|;Go forward
|-
|
=====cm_DirectoryHistory=====
|=572
|;History list
|-
|
=====cm_DirectoryHotlist=====
|=526
|;Directory popup menu
|-
|
=====cm_GoToRoot=====
|=2001
|;Go to root directory
|-
|
=====cm_GoToParent=====
|=2002
|;Go to parent directory
|-
|
=====cm_GoToDir=====
|=2003
|;Open dir or zip under cursor
|-
|
=====cm_OpenDesktop=====
|=2121
|;Desktop folder
|-
|
=====cm_OpenDrives=====
|=2122
|;My computer
|-
|
=====cm_OpenControls=====
|=2123
|;Control panel
|-
|
=====cm_OpenFonts=====
|=2124
|;Fonts folder
|-
|
=====cm_OpenNetwork=====
|=2125
|;Network neighborhood
|-
|
=====cm_OpenPrinters=====
|=2126
|;Printers folder
|-
|
=====cm_OpenRecycled=====
|=2127
|;Recycle bin
|-
|
=====cm_CDtree=====
|=500
|;Popup directory tree
|-
|
=====cm_TransferLeft=====
|=2024
|;Transfer dir under cursor to left window
|-
|
=====cm_TransferRight=====
|=2025
|;Transfer dir under cursor to right window
|-
|
=====cm_EditPath=====
|=2912
|;Edit path field above file list
|-
|
=====cm_GoToFirstFile=====
|=2050
|;Place cursor on first file in list
|-
|
=====cm_GotoNextDrive=====
|=2051
|;Go one drive up (C->D)
|-
|
=====cm_GotoPreviousDrive=====
|=2052
|;Go one drive down
|-
|
=====cm_GotoDriveA=====
|=2061
|;Switch to drive A
|-
|
=====cm_GotoDriveC=====
|=2063
|;Switch to drive C
|-
|
=====cm_GotoDriveD=====
|=2064
|;Switch to drive D
|-
|
=====cm_GotoDriveE=====
|=2065
|;Switch to drive E
|-
|
=====cm_GotoDriveF=====
|=2066
|;(etc, define your own if)
|-
|
=====cm_GotoDriveZ=====
|=2086
|;(you need more drives)
|-
|colspan="3"|<font color="#f9f9f9">
===Help===
</font>
[________________Help________________]=0
|-
|
=====cm_HelpIndex=====
|=610
|;Help index
|-
|
=====cm_Keyboard=====
|=620
|;Keyboard help
|-
|
=====cm_Register=====
|=630
|;Registration info
|-
|
=====cm_VisitHomepage=====
|=640
|;Visit http://www.ghisler.com/
|-
|
=====cm_About=====
|=690
|;Help/About Total Commander
|-
|colspan="3"|<font color="#f9f9f9">
===Window===
</font>
[________________Window________________]=0
|-
|
=====cm_Exit=====
|=24340
|;Exit Total Commander
|-
|
=====cm_Minimize=====
|=2000
|;Minimize Total Commander
|-
|
=====cm_Maximize=====
|=2015
|;Maximize Total Commander
|-
|
=====cm_Restore=====
|=2016
|;Restore normal size
|-
|colspan="3"|<font color="#f9f9f9">
===CommandLine===
</font>
[________________CommandLine________________]=0
|-
|
=====cm_ClearCmdLine=====
|=2004
|;Clear command line
|-
|
=====cm_NextCommand=====
|=2005
|;Next command line
|-
|
=====cm_PrevCommand=====
|=2006
|;Previous command line
|-
|
=====cm_AddPathToCmdline=====
|=2019
|;Copy path to command line
|-
|colspan="3"|<font color="#f9f9f9">
===Tools===
</font>
[________________Tools________________]=0
|-
|
=====cm_MultiRenameFiles=====
|=2400
|;Rename multiple files
|-
|
=====cm_SysInfo=====
|=506
|;System information
|-
|
=====cm_OpenTransferManager=====
|=559
|;Background transfer manager
|-
|
=====cm_SearchFor=====
|=501
|;Search for
|-
|
=====cm_FileSync=====
|=2020
|;Synchronize directories
|-
|
=====cm_Associate=====
|=507
|;Associate
|-
|
=====cm_CompareFilesByContent=====
|=2022
|;File comparison
|-
|colspan="3"|<font color="#f9f9f9">
===View===
</font>
[________________View________________]=0
|-
|
=====cm_VisButtonbar=====
|=2901
|;Show/hide button bar
|-
|
=====cm_VisDriveButtons=====
|=2902
|;Show/hide drive button bars
|-
|
=====cm_VisTwoDriveButtons=====
|=2903
|;Show/hide two drive bars
|-
|
=====cm_VisFlatDriveButtons=====
|=2904
|;Buttons: Flat/normal mode
|-
|
=====cm_VisFlatInterface=====
|=2905
|;Interface: Flat/normal mode
|-
|
=====cm_VisDriveCombo=====
|=2906
|;Show/hide drive combobox
|-
|
=====cm_VisCurDir=====
|=2907
|;Show/hide current directory
|-
|
=====cm_VisTabHeader=====
|=2908
|;Show/hide tab header (sorting)
|-
|
=====cm_VisStatusbar=====
|=2909
|;Show/hide status bar
|-
|
=====cm_VisCmdLine=====
|=2910
|;Show/hide Command line
|-
|
=====cm_VisKeyButtons=====
|=2911
|;Show/hide function key buttons
|-
|
=====cm_ShowHint=====
|=2914
|;Show file tip window
|-
|
=====cm_ShowQuickSearch=====
|=2915
|;Show name search window
|-
|
=====cm_SwitchLongNames=====
|=2010
|;Turn long names on and off (Win9x/Me/NT/2000 only)
|-
|
=====cm_RereadSource=====
|=540
|;Reread source
|-
|
=====cm_ShowOnlySelected=====
|=2023
|;Hide files which aren't selected
|-
|
=====cm_SwitchHidSys=====
|=2011
|;Turn hidden/system files on and off
|-
|
=====cm_Switch83Names=====
|=2013
|;Turn 8.3 names lowercase on/off
|-
|
=====cm_SwitchDirSort=====
|=2012
|;Turn directory sorting by name on/off
|-
|
=====cm_DirBranch=====
|=2026
|;Show all files in current dir and all subdirs
|-
|
=====cm_50Percent=====
|=909
|;Window separator at 50%
|-
|
=====cm_VisDirTabs=====
|=2916
|;Show/hide folder tabs
|-
|
=====cm_SwitchOverlayIcons=====
|=2917
|;Switch overlays on/off
|-
|
=====cm_VisHistHotButtons=====
|=2919
|;Show/hide dir history+hotlist
|-
|
=====cm_SwitchWatchDirs=====
|=2921
|;Disable/reenable WatchDirs auto-refresh temporarily
|-
|colspan="3"|<font color="#f9f9f9">
===User===
</font>
[________________User________________]=0
|-
|
=====cm_UserMenu1=====
|=701
|;Start first menu item in Start menu
|-
|
=====cm_UserMenu2=====
|=702
|;Second item
|-
|
=====cm_UserMenu3=====
|=703
|;Third item
|-
|
=====cm_UserMenu4=====
|=704
|;etc.
|-
|
=====cm_UserMenu5=====
|=705
|;
|-
|
=====cm_UserMenu6=====
|=706
|;
|-
|
=====cm_UserMenu7=====
|=707
|;
|-
|
=====cm_UserMenu8=====
|=708
|;You can add more
|-
|
=====cm_UserMenu9=====
|=709
|;custom user menu ids
|-
|
=====cm_UserMenu10=====
|=710
|;in totalcmd.inc!
|-
|colspan="3"|<font color="#f9f9f9">
===Tabs===
</font>
[________________Tabs________________]=0
|-
|
=====cm_OpenNewTab=====
|=3001
|;Open new tab
|-
|
=====cm_OpenNewTabBg=====
|=3002
|;Open new tab in background
|-
|
=====cm_OpenDirInNewTab=====
|=3003
|;Open dir under cursor in tab
|-
|
=====cm_OpenDirInNewTabOther=====
|=3004
|;Open dir under cursor (other window)
|-
|
=====cm_SwitchToNextTab=====
|=3005
|;Same as Ctrl+Tab
|-
|
=====cm_SwitchToPreviousTab=====
|=3006
|;Same as Ctrl+Shift+Tab
|-
|
=====cm_CloseCurrentTab=====
|=3007
|;Close tab
|-
|
=====cm_CloseAllTabs=====
|=3008
|;Close all
|-
|
=====cm_DirTabsShowMenu=====
|=3009
|;Show tab menu
|-
|
=====cm_ToggleLockCurrentTab=====
|=3010
|;Turn on/off tab locking
|-
|
=====cm_ToggleLockDcaCurrentTab=====
|=3012
|;Same but with dir changes allowed
|-
|
=====cm_ExchangeWithTabs=====
|=535
|;Swap all Tabs
|-
|
=====cm_GoToLockedDir=====
|=3011
|;Go to the base dir of locked tab
|-
|
=====cm_SrcActivateTab1=====
|=5001
|;Activate first tab
|-
|
=====cm_SrcActivateTab2=====
|=5002
|;Activate second tab
|-
|
=====cm_SrcActivateTab3=====
|=5003
|;(Source window)
|-
|
=====cm_SrcActivateTab4=====
|=5004
|;etc.
|-
|
=====cm_SrcActivateTab5=====
|=5005
|;
|-
|
=====cm_SrcActivateTab6=====
|=5006
|;
|-
|
=====cm_SrcActivateTab7=====
|=5007
|;
|-
|
=====cm_SrcActivateTab8=====
|=5008
|;
|-
|
=====cm_SrcActivateTab9=====
|=5009
|;
|-
|
=====cm_SrcActivateTab10=====
|=5010
|;(up to 99 items)
|-
|
=====cm_TrgActivateTab1=====
|=5101
|;Activate first tab
|-
|
=====cm_TrgActivateTab2=====
|=5102
|;Activate second tab
|-
|
=====cm_TrgActivateTab3=====
|=5103
|;(Target window)
|-
|
=====cm_TrgActivateTab4=====
|=5104
|;etc.
|-
|
=====cm_TrgActivateTab5=====
|=5105
|;
|-
|
=====cm_TrgActivateTab6=====
|=5106
|;
|-
|
=====cm_TrgActivateTab7=====
|=5107
|;
|-
|
=====cm_TrgActivateTab8=====
|=5108
|;
|-
|
=====cm_TrgActivateTab9=====
|=5109
|;
|-
|
=====cm_TrgActivateTab10=====
|=5110
|;
|-
|
=====cm_LeftActivateTab1=====
|=5201
|;Activate first tab
|-
|
=====cm_LeftActivateTab2=====
|=5202
|;Activate second tab
|-
|
=====cm_LeftActivateTab3=====
|=5203
|;(Left window)
|-
|
=====cm_LeftActivateTab4=====
|=5204
|;etc.
|-
|
=====cm_LeftActivateTab5=====
|=5205
|;
|-
|
=====cm_LeftActivateTab6=====
|=5206
|;
|-
|
=====cm_LeftActivateTab7=====
|=5207
|;
|-
|
=====cm_LeftActivateTab8=====
|=5208
|;
|-
|
=====cm_LeftActivateTab9=====
|=5209
|;
|-
|
=====cm_LeftActivateTab10=====
|=5210
|;
|-
|
=====cm_RightActivateTab1=====
|=5301
|;Activate first tab
|-
|
=====cm_RightActivateTab2=====
|=5302
|;Activate second tab
|-
|
=====cm_RightActivateTab3=====
|=5303
|;(Right window)
|-
|
=====cm_RightActivateTab4=====
|=5304
|;etc.
|-
|
=====cm_RightActivateTab5=====
|=5305
|;
|-
|
=====cm_RightActivateTab6=====
|=5306
|;
|-
|
=====cm_RightActivateTab7=====
|=5307
|;
|-
|
=====cm_RightActivateTab8=====
|=5308
|;
|-
|
=====cm_RightActivateTab9=====
|=5309
|;
|-
|
=====cm_RightActivateTab10=====
|=5310
|;
|-
|colspan="3"|<font color="#f9f9f9">
===Load===
</font>
[_Load custom column views directly_]=0
|-
|
=====cm_SrcCustomView1=====
|=271
|; Source: Custom columns 1
|-
|
=====cm_SrcCustomView2=====
|=272
|; (user defined columns)
|-
|
=====cm_SrcCustomView3=====
|=273
|; etc.
|-
|
=====cm_SrcCustomView4=====
|=274
|;
|-
|
=====cm_SrcCustomView5=====
|=275
|;
|-
|
=====cm_SrcCustomView6=====
|=276
|;
|-
|
=====cm_SrcCustomView7=====
|=277
|;
|-
|
=====cm_SrcCustomView8=====
|=278
|;
|-
|
=====cm_SrcCustomView9=====
|=279
|; etc. until 299
|-
|
=====cm_LeftCustomView1=71=====
|; Left: Custom columns 1
|-
|
=====cm_LeftCustomView2=72=====
|; (user defined columns)
|-
|
=====cm_LeftCustomView3=73=====
|; etc.
|-
|
=====cm_LeftCustomView4=74=====
|;
|-
|
=====cm_LeftCustomView5=75=====
|;
|-
|
=====cm_LeftCustomView6=76=====
|;
|-
|
=====cm_LeftCustomView7=77=====
|;
|-
|
=====cm_LeftCustomView8=78=====
|;
|-
|
=====cm_LeftCustomView9=79=====
|;
|-
|
=====cm_RightCustomView1=====
|=171
|; Right: Custom columns 1
|-
|
=====cm_RightCustomView2=====
|=172
|; (user defined columns)
|-
|
=====cm_RightCustomView3=====
|=173
|; etc.
|-
|
=====cm_RightCustomView4=====
|=174
|;
|-
|
=====cm_RightCustomView5=====
|=175
|;
|-
|
=====cm_RightCustomView6=====
|=176
|;
|-
|
=====cm_RightCustomView7=====
|=177
|;
|-
|
=====cm_RightCustomView8=====
|=178
|;
|-
|
=====cm_RightCustomView9=====
|=179
|;
|-
|
=====cm_SrcNextCustomView=====
|=5501
|;  Source: Next custom view
|-
|
=====cm_SrcPrevCustomView=====
|=5502
|;  Source: Previous custom view
|-
|
=====cm_TrgNextCustomView=====
|=5503
|;  Target: Next custom view
|-
|
=====cm_TrgPrevCustomView=====
|=5504
|;  Target: Previous custom view
|-
|
=====cm_LeftNextCustomView=====
|=5505
|; Left:  Next custom view
|-
|
=====cm_LeftPrevCustomView=====
|=5506
|; Left:  Previous custom view
|-
|
=====cm_RightNextCustomView=====
|=5507
|;Right:  Next custom view
|-
|
=====cm_RightPrevCustomView=====
|=5508
|;Right:  Previous custom view
|}
 
{{translated|totalcmd.inc|Configuration}}

Latest revision as of 13:42, 2 June 2022

The file Totalcmd.inc located in the program folder of Total Commander defines the names and short descriptions of internal commands. The file can be edited to add more commands. For example more cm_UserMenu<number> commands (to run user menu entries) or more cm_GotoDrive<drive_letter> commands (to go to certain drives). The number of these commands is rather limited by default. Be aware though, that the file gets overwritten when you install an update of Total Commander. For this reason, it's probably better to create user-defined commands instead or use other commands that accept parameters.

File format

The file is a plain text file and its contents are structured as follows:

[________________<category>________________]=0
<command>=<number>;<description>
<command>=<number>;<description>
<command>=<number>;<description>
<command>=<number>;<description>
..

[________________<category>________________]=0
<command>=<number>;<description>
<command>=<number>;<description>
..

Other languages

For a non English language the category names and the descriptions of the commands are defined in the file LANGUAGE\WCMD_<language_code>.INC in the program folder of Total Commander.

See also