Totalcmd.inc: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Remove category: Lists (page no longer contains one))
(Added section: See also)
Line 20: Line 20:
== Other languages ==
== Other languages ==
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.
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.
== See also ==
* [[List of internal commands]]


[[category:TC files]]
[[category:TC files]]
[[category:Internal commands| {{PAGENAME}}]]
[[category:Internal commands| {{PAGENAME}}]]

Revision as of 14:55, 1 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 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.

See also