Totalcmd.inc

From TotalcmdWiki
Revision as of 14:51, 1 June 2022 by White (talk | contribs) (Page rewritten)
Jump to navigation Jump to search

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 format of the file is 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.