Should i use only em_* in usercmd.ini?
Can I use another prefix?
Should i use only em_* in usercmd.ini?
Moderators: Hacker, petermad, Stefan2, white
Should i use only em_* in usercmd.ini?
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Should i use only em_* in usercmd.ini?
We can only use [em_myDescription] for own created commands in the usercmd.ini
But for "cmd=" we can also use "cm_command" internal TC commands to execute.
Re: Should i use only em_* in usercmd.ini?
Understood. Thanks.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Should i use only em_* in usercmd.ini?
2MaxX
here's an example:
usercmd.ini:
Now the 'em_tc_restart' user command can be run from buttons and/or menus.
What it does:
Saves position (cm_ConfigSavePos = Configuration: Save position), and then restarts TC (cm_exit) with option 29,
where 29 = 1+4+8+16,
from:
here's an example:
usercmd.ini:
Code: Select all
[em_tc_restart]
cmd=cm_ConfigSavePos,cm_exit 29
What it does:
Saves position (cm_ConfigSavePos = Configuration: Save position), and then restarts TC (cm_exit) with option 29,
where 29 = 1+4+8+16,
from:
Code: Select all
CM_EXIT supports the following parameters (sum of):
0 or no parameter: Just exit
1: Restart Total Commander
2: Restart Total Commander but switch between 32-bit and 64-bit versions (if the other exists in the same directory)
3: Note: 2 and 3 do the same thing
4: Save paths, directories, tabs, panels (brief, full, etc.), and display modes on exit even when it's disabled in the configuration
8: Pass the current left and right directories and file under the cursor to the new instance
16: Restart with full administrator rights (elevated) (32/64)
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15