There are several parameters in wincmd.ini that are simply removed, when the default value is chosen from the GUI. So, yes.Is it normal behavior?
ColorFilters entry in WinCmd disappears
Moderators: white, Hacker, petermad, Stefan2
Re: ColorFilters entry in WinCmd disappears
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: ColorFilters entry in WinCmd disappears
There is another problem with keeping comments in wincmd.ini:
Some sections are moved to the end of the ini file when an item in the section is changed via the configuration dialog - it is mostly sections that is ordered, because a change in such sections can mean that the order of the items and hence the name of the items has to be changed.
It is sections as for example: [Associations], [ViewModes], [ViewModeSwitch], [Dirmenu], [user]. [ContentPlugins], [ListerPlugins] - comments in most of these sections will simply be deleted if the section is changed via the configuration dialog.
So using comments in wincmd.ini is highly unreliable.
Some sections are moved to the end of the ini file when an item in the section is changed via the configuration dialog - it is mostly sections that is ordered, because a change in such sections can mean that the order of the items and hence the name of the items has to be changed.
It is sections as for example: [Associations], [ViewModes], [ViewModeSwitch], [Dirmenu], [user]. [ContentPlugins], [ListerPlugins] - comments in most of these sections will simply be deleted if the section is changed via the configuration dialog.
So using comments in wincmd.ini is highly unreliable.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ColorFilters entry in WinCmd disappears
Comments work fine in sections like [configuration], where settings are written one at a time. They don't work in sections which are written as a whole via WritePrivateProfileSection, e.g. button bar, start menu etc. which do not contain various options but things like items of a list, or a history.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com