Drive label is not shown in drive tooltip/combobox
Moderators: Hacker, petermad, Stefan2, white
Drive label is not shown in drive tooltip/combobox
I can see volume label in 'volume label and free/total space' panel but I can't see it in other places.
I discovered that dumb Explorer doesn't show volume label in My Computer/Explorer tree/volume properties when I have folder Autorun.inf in root USB stick folder (protection from Autorun.inf file creation), it seems that it founds object Autorun.inf and tries to read label INI section from it and fails because it is a directory. I can see drive label in output of console DIR command or in Drive Management window. Also third-party programs show drive labels too (e.g. USB Safely Remove tool). And, funniest thing, if I enter new volume label in Explorer's volume properties, it changes label but is still unable to show it.
I think TC should (at least provide an option) to show real labels (not those that stupid Explorer tries to show) in drive tooltips/comboboxes (it already knows how to get labels since it shows them in a 'volume label and free/total space' panel).
TC 8.01 x32, Win7/8.
To reproduce: create folder Autorun.inf in root USB stick folder and reattach it.
I discovered that dumb Explorer doesn't show volume label in My Computer/Explorer tree/volume properties when I have folder Autorun.inf in root USB stick folder (protection from Autorun.inf file creation), it seems that it founds object Autorun.inf and tries to read label INI section from it and fails because it is a directory. I can see drive label in output of console DIR command or in Drive Management window. Also third-party programs show drive labels too (e.g. USB Safely Remove tool). And, funniest thing, if I enter new volume label in Explorer's volume properties, it changes label but is still unable to show it.
I think TC should (at least provide an option) to show real labels (not those that stupid Explorer tries to show) in drive tooltips/comboboxes (it already knows how to get labels since it shows them in a 'volume label and free/total space' panel).
TC 8.01 x32, Win7/8.
To reproduce: create folder Autorun.inf in root USB stick folder and reattach it.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, currently there are no plans to change this. Why do you need a folder named Autorun.inf? This sounds a bit constructed just to provoke an error...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Please search the web, it is very popular virus protection thing. Filesystem doesn't allow to have file and folder with same names in same place. So if I have folder named Autorun.inf it is impossible to create file Autorun.inf here => virus won't be able to add its autorun entry. The only problem is stupid Microsoft Explorer that tries to read volume label from Autorun.inf file and shows no label on fail (it must show old good volume label instead).
Since TC always shows real folder names (ignoring desktop.ini) it would be logical to show real volume labels (ignoring Autorun.inf).
Since TC always shows real folder names (ignoring desktop.ini) it would be logical to show real volume labels (ignoring Autorun.inf).
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm using the labels from Explorer because in my tests reading the real labels could cause delays of several minutes with some badly written device drivers when there was no medium.
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:
I mean panel with volume information in drive combobox panel:
It shows correct USB Stick label while drive combobox and drive button's tooltip show just 'Removable drive' like Explorer does.
Code: Select all
[mvv_flash] 1 169 396 k of 7 970 800 k free
Hmm, this seems to be OS related.
Under Windows XP both Explorer and TC shows volume label correctly everywhere, but under Window 7 only TC shows volume label and then only in the "Free space on drive" bar as reported by MVV.
Under Windows XP both Explorer and TC shows volume label correctly everywhere, but under Window 7 only TC shows volume label and then only in the "Free space on drive" bar as reported by MVV.
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
You were reporting for TC 8.01 x32, Win7/8 - now I am adding that the "bug" does not exist under Windows XP, so maybe it is not Ghislers intention that it shouldn't work the same way under Windows 7 as it does under XP.I mentioned that in first post
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
I totally agree with you.
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:
The "Free space on drive" is read only after switching to that specific drive, so TC already knows that it's accessible. The Explorer method is used when not accessing the drive, e.g. in Alt+F1/F2, because of too many troubles trying to read the label directly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com