[solved] [TC9r1] Undocumented wincmd.ini entry

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] [TC9r1] Undocumented wincmd.ini entry

Post by *petermad »

The new FirstTimeIconLib= parameter is not documented in the Help file (other FirstTimeXXX parameter are documented).
Last edited by petermad on 2021-05-30, 11:50 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

CommentPreferredFormat=
SetEncoding=äö.do.not.remove

is also not documented.

DrivesExportUpcase=-1
DrivesShowUpcase=-1

should be set to =1 instead -1

mf
Bankster - Word of the Year 2009
User avatar
beb
Power Member
Power Member
Posts: 592
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Post by *beb »

Mikefield wrote:SetEncoding=äö.do.not.remove
is also not documented.
Here is the appropriate information:
wincmd.ini: 'SetEncoding=äö.do.not.remove'
ghisler(Author) wrote:This is done because the Windows ini file functions do not support UTF-8 Unicode. If notepad saves the file as UTF-8 by mistake, it will cause a lot of problems.

I chose these two bytes because they give valid character(s) in all encodings, including double byte encodings like Chinese, but NOT in UTF-8.
MVV wrote:the only reason of using these two bytes in this parameter is preventing opening and saving INI file in UTF-8 encoding (these two bytes represent invalid UTF-8 sequence) which is not a valid encoding for INI files.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 16
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

DrivesExportUpcase=-1
DrivesShowUpcase=-1
should be set to =1 instead -1
It should rather be:
DrivesExportUpcase=0
DrivesShowUpcase=0

Since neither is set by default.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2beb
Here is the appropriate information:
wincmd.ini: 'SetEncoding=äö.do.not.remove'
It is not the question what it means - but that it is not mentioned in the help.chm file
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

In [Buttonbar]
DefaultLib=
IconDll_Main.BAR=
IconDll_vertical.bar=

is also not documented.

mf
Bankster - Word of the Year 2009
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Descriptions for:
FirstTimeIconLib=1
DrivesExportUpcase=-1
DrivesShowUpcase=-1
SetEncoding=äö.do.not.remove
DefaultLib=
IconDll_Main.BAR=
IconDll_vertical.bar=

Are now all added/corrected in TC9rc2 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50861
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! Btw, these two options really use -1 by default:
DrivesExportUpcase=-1
DrivesShowUpcase=-1
Author of Total Commander
https://www.ghisler.com
Post Reply