2
TvE
I do my custom menu this way:
I make my own language and menu files, let's say:
%commander_path%\Language\WCMD_BEB_ENG.LNG
%commander_path%\Language\WCMD_BEB_ENG.MNU
WCMD_BEB_ENG.LNG file has nothing inside, but (my preferred entries, if any; otherwise it can be empty at all except a caption string*):
Code: Select all
English by user (me)
codepage=65001
677="<dir>"
678="<lnk>"
1449="TB"
1450="b"
1451="kB"
1452="MB"
1453="GB"
* In the case of a language other than English .LNG file has to contain all the language entries, hence such a case becomes more complicated upon updates.
In case of .MNU file, it has to have a full menu inside. Nothing would be taken from anywhere else when absent, even in the case of English.
My WCMD_BEB_ENG.MNU has a structure as follows (* Note: only root entries are listed):
Code: Select all
POPUP "&Files"
POPUP "&Mark"
POPUP "&Commands"
POPUP "&Net"
POPUP "Sho&w"
POPUP "C&onfiguration"
; * CUSTOM MENU START
POPUP "Custom"
POPUP "Total"
POPUP "Commander"
; * CUSTOM MENU END
HELP_BREAK
POPUP "&Help"
STARTMENU
Where, everything is vanilla except those in between ";* CUSTOM MENU START" and "; * CUSTOM MENU END".
In its turn, those custom menu segment features all the custom commands and vanilla commands that are being used most frequently (by me).
Then I just go to "Configuration - Option - Language" and opt there for my own "English by user (me)" entry. And that's it.
I don't touch any other files at all (.INC, etc).
It just works like a charm.
It cannot be overwritten by any vanilla updates.
It can be relatively easily updated by hand if the vanilla menu gets radical updates.
When the new Total Commander version is being rolled out, I take the vanilla .MNU, make a copy of it as WCMD_BEB_ENG.MNU, copy-paste there my custom part (; * CUSTOM MENU START ... ; * CUSTOM MENU END), opt for my own "English by user (me)" language entry. And that's it again. And so on.
Recently, I posted here several videos to illustrate how to do one thing or another, upon users' requests, so it can be seen how it looks and works.
For instance, today's ones:
https://i.imgur.com/v9Ou238.mp4
https://i.imgur.com/SXYuSfD.mp4
Of course, there are some guru-users over here, much more advanced than me, who can give you more advanced advice, but I just share my own approach.
Edit. .LNG and .MNU files naming changed regarding
petermad's remark.
petermad wrote: 2024-12-20, 12:19 UTC
...WCMD_BEB_ENG.LNG and WCMD_BEB_ENG.MNU...