Uppercased drive letter in Lister (not only for unpacked files)
Moderators: Hacker, petermad, Stefan2, white
Re: Uppercased drive letter in Lister for unpacked files.
Yes, also for [lefttabs], [righttabs] if you have saved tabs and switch to one of those tabs.
And for [LeftHistory] and [RightHistory] but not if it is only the entries with #n in them that has the capital drive letter
And for [LeftHistory] and [RightHistory] but not if it is only the entries with #n in them that has the capital drive letter
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
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
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Uppercased drive letter in Lister for unpacked files.
That's correct: -1 is undefined, so TC will not always change the drive letters. I will update the help.If the path= in sections [left] and [right] has an uppercase drive letter AND DrivesShowUpcase is not present OR set to -1 (or 1 of course), then Lister shows the directory info for folders with uppercase drive letter.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Uppercased drive letter in Lister for unpacked files.
2ghisler(Author)
What is correct? -1 is defined in Help as a default value and it's definitely <=0 so according to Help it means "Show as lowercase" by default.
What changes do you want to write to Help?
What is correct? -1 is defined in Help as a default value and it's definitely <=0 so according to Help it means "Show as lowercase" by default.
What changes do you want to write to Help?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Uppercased drive letter in Lister for unpacked files.
Are I'm the only one which finds the disccussion about this very (un)importand feature or error
a liitle bit oversized

a liitle bit oversized


Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Uppercased drive letter in Lister (not only for unpacked files)
2Horst.Epp
Never coded for Linux, right? ;-P
Never coded for Linux, right? ;-P
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Uppercased drive letter in Lister (not only for unpacked files)
Wrong

I even managed some years HP-UX servers and scripting was part of the job of course.
But in Windows I don't care about the case of Drive letters.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Uppercased drive letter in Lister (not only for unpacked files)
That's exactly what isn't correct: Why should there be 0 and -1 if they both do the same?What is correct? -1 is defined in Help as a default value and it's definitely <=0 so according to Help it means "Show as lowercase" by default.
0 was meant as "Show as lowercase", while -1 is "undefined", in most cases it's the same as "Show as lowercase", though.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Uppercased drive letter in Lister (not only for unpacked files)
But it wasn't.ghisler(Author) wrote: 2022-08-22, 07:10 UTC 0 was meant as "Show as lowercase", while -1 is "undefined", in most cases it's the same as "Show as lowercase", though.
I did some tests with older versions and there was a change in TC 7.50, when DrivesShowUpcase was added. You can run any older TC (f.e 7.04 or 6.03a) with a fresh ini, press Ctrl+T to open a new tab and select another drive from drive combobox, then go back to the first tab and close TC. A new tab will be saved as uppercased in [lefttabs] though [left] and [right] drive letters are lowercased when TC creates a fresh ini.
In TC7.50+ in such cases lowercased drive letters are saved. But without DrivesShowUpcase TC doesn't show the saved letter case as is when you turn on "Always show drive letter in tab title". And drive letter in environment variables (which can be used in [lefttabs] and [righttabs]) are uppercased:
Code: Select all
COMMANDER_DRIVE=C:
COMMANDER_EXE=C:\TotalCmd\TotalCmd.EXE
COMMANDER_INI=C:\TotalCmd\wincmd.ini
COMMANDER_PATH=C:\TotalCmd
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Uppercased drive letter in Lister (not only for unpacked files)
If you want all lowercase, just use DrivesShowUpcase=0. Where is the problem?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Uppercased drive letter in Lister (not only for unpacked files)
Moderator message
Moved to Behaviour which will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Uppercased drive letter in Lister (not only for unpacked files)
I want to see a drive letter case as is by default rather than some random mix-up. Otherwise it's hard to guess why sometimes drive letters are uppercased.ghisler(Author) wrote: 2022-08-24, 07:24 UTC If you want all lowercase, just use DrivesShowUpcase=0. Where is the problem?
You shouldn't force displaying lowercase when DrivesShowUpcase is undefined, but you should create lowercase entries by default. However, for me it would be enough to see drive letter case as is in current directory (breadcrumb) bar and in tooltips when hovering mouse on inactive folder tab headers.
There is also another possibility - fix letter case in ini files after setting (adding/changing) DrivesShowUpcase to 0 or 1, but I don't know how to do it only once.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator