drive letter upcase/low case

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

drive letter upcase/low case

Post by *SailorMax »

Sometimes TC output with path up cased drive letter, but some times it in lower case.
my drive C: is NTFS. Ctrl-P => c:\
my drive D: is FAT32. Ctrl-P => D:\
my drive Z: is mounted samba disk. Ctrl-P not tested, but F4 (edit) => sometimes files has path with "z:\path...", but sometimes "Z:\path..."
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

I always get lower-case letters at all drives - NTFS, FAT32.
TC 8.0 b24 (both x32 & x64).
But, if only I write upper-case letter in dir path directly - it becomes upper-cased untill I change drive to another.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, SailorMax. Hello, MaxX.

In order to configure this bug, you may use the two parameters which the helpfile explains in section 4b windcmd.ini:
totalcmd.chm section 4b wincmd.ini wrote:DrivesExportUpcase=-1 1: Export drive letters uppercase when using e.g. cm_CopyFullNamesToClip, or when running programs (in program name and current directory)
Note: When DrivesShowUpcase is set and DrivesExportUpcase isn't, it gets the value of the former
DrivesShowUpcase=-1 1: Show drives uppercase in various places like the drive bar, drive list, current path etc.
Note: The correct bug values for the two parameters are:
-1 ... do not care, display drive letter in lower case or upper case as returned by an API call
0 ... display drive letters in lowercase always
1 ... display drive letters in uppercase always

You may want to add/modify these bug configuring parameters in the file wincmd.ini, section [Configuration] and restart T.C. thereafter.

Kind regards,
Karl
--
Oh, by the way, this bug was introduced much earlier than T.C. 8.0 beta on user request: T.C. 7.50 public beta 2.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

There are two INI settings for controlling drive upper/lower case DrivesShowUpcase and DrivesExportUpcase
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

drive letter upcase/low case

Post by *karlchen »

Confirmed, there are. Introduced by T.C. 7.50 public beta 2 :wink:
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50535
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC doesn't care about uppercase/lowercase drives if you don't set these variables. Please just report bugs when you set it to lowercase but TC shows or exports it as uppercase, or vice versa.
Author of Total Commander
https://www.ghisler.com
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Post by *SailorMax »

I don't have listed variables (DrivesShowUpcase and DrivesExportUpcase) in my Wincmd.ini; What default values they use?

Today all my drives output in lower case. Continue to test...
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

SailorMax, read the TOTALCMD.chm's section 4.b to get default values of all parameters. However, as Mr. Ghisler stated,
TC doesn't care about uppercase/lowercase drives if you don't set these variables.
I have DrivesShowUpcase=1 set in my wincmd.ini and all drive letters in TC are in upper case for me.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

SailorMax wrote:I don't have listed variables (DrivesShowUpcase and DrivesExportUpcase) in my Wincmd.ini; What default values they use?
OK, MVV has already told you where to find the explanation. Yet, I had done so, too, some posts before, addressed explicitly to MaxX and you: here. I had quoted the relevant section of the T.C. helpfile. Might be a good idea to read replies a bit more carefully.

Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

MVV wrote:I have DrivesShowUpcase=1 set in my wincmd.ini and all drive letters in TC are in upper case for me.
Hm... Tried this - got big drive-letters EVERYWHERE in TC.
Btw, needed upper-cased letters in copied names work good.
How can I get upper-cased letters in copied list but NOT in TC's GUIs?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

MaxX,

Code: Select all

DrivesShowUpcase=0
DrivesExportUpcase=1
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

MaxX wrote:Btw, needed upper-cased letters in copied names work good.
How can I get upper-cased letters in copied list but NOT in TC's GUIs?
Have a look at one of my previous replies, here. The answer to your question is there:
+ DrivesShowUpcase=0
+ DrivesExportUpcase=1

Karl
--
I am starting to wonder why everybody seems to be ignoring the information that I am giving ?
--
Oh, this time, MVV beat me by one minute. :wink:
Last edited by karlchen on 2012-04-13, 15:54 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Thanks, works good.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

MVV,
Thank you. The information you are giving is very useful! :)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

<offtopic>

Hello, Roman.
MVV,Thank you. The information you are giving is very useful! :)Roman
What ever you are trying to tell me, the simple fact is that any post below this one just parrots what has been explained in the quoted part of the T.C. helpfile.
But very likely this, too, is a common pattern of behaviour which will not be changed: ask questions, but do not read the replies carefully, if at all.

Cheers,
Karl

</offtopic>
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Post Reply