[Solved] WinCmd.ini - Language & MainMenu lines are removed on last update

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
alphonse68
Junior Member
Junior Member
Posts: 33
Joined: 2011-09-26, 13:53 UTC

[Solved] WinCmd.ini - Language & MainMenu lines are removed on last update

Post by *alphonse68 »

Hello.
In my WinCmd.ini I have the following two lines:

LanguageINI=!WCMD_ENU.LNG
MainMenu=!WCMD_ENG.MNU

I changed the names because I have modified those two files and in the past they were overwritten by TC updates when named as originally baptized.
This time the two lines were wiped from WinCmd.ini... were they supposed to be removed?

There is most likely a better way by redirecting or something, but these are from way back when I knew much less than what little I know now. Any guidance will be much appreciated.

Cheers
Last edited by alphonse68 on 2021-03-14, 06:15 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6973
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: WinCmd.ini - Language & MainMenu lines

Post by *Horst.Epp »

When you customize why don't you use your own names without such strange naming ?
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
alphonse68
Junior Member
Junior Member
Posts: 33
Joined: 2011-09-26, 13:53 UTC

Re: WinCmd.ini - Language & MainMenu lines

Post by *alphonse68 »

Well, the most accurate and easy to remember name to me is the one closest to the original. All I did was add an exclamation mark which does not make it look like it could be anything else. I am also not a fan of long names. I guess that if I had several versions of the file that I would end up being more descriptive in their names as to the contents. Is there a problem with adding an exclamation mark to the name? Is that the reason why those two lines were removed in this installation but had never been removed before in at least a couple of decades since they were modified and named as such?
Cheers
User avatar
petermad
Power Member
Power Member
Posts: 16031
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: WinCmd.ini - Language & MainMenu lines are removed on last update

Post by *petermad »

2alphonse68

The right way to name .LNG, .MNU, .INC and . INI files is: WCMD_something_LANGCODE.*

For example: WCMD_mysetup_ENG.LNG, WCMD_mysetup_ENG.MNU, WCMD_mysetup_ENG.INC and WCMD_mysetup_ENG.INI

LANGCODE is a 2 or 3 letter code for the language (for example DEU for German). If you use this convention, you make sure that plugins and other functions in TC will use the right language.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
alphonse68
Junior Member
Junior Member
Posts: 33
Joined: 2011-09-26, 13:53 UTC

Re: WinCmd.ini - Language & MainMenu lines are removed on last update

Post by *alphonse68 »

Hello Peter.
Advice taken... files renamed accordingly without an exclamation mark.
I hope that will do the trick. Thank you.

I do apologize for I just noticed that I committed a typo in my original post when I typed _ENU instead of _ENG.
However, the files and their names in WinCmd.ini all are _ENG.

Cheers

PS - How does one go about marking a post as Solved?
User avatar
nsp
Power Member
Power Member
Posts: 1917
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

[Solved]: WinCmd.ini - Language & MainMenu lines are removed on last update

Post by *nsp »

To mark as solved, you can go to your first post and edit it.
In the subject/title just add in front [Solved] this should solve your request.
Post Reply