Remove the <DIR> text
Moderators: Hacker, petermad, Stefan2, white
Remove the <DIR> text
A newbie question:
Is there a way to remove the text "<DIR>" from the size column for all folders/directories?
I don't see any need for it when we have meaningful icons for folders.
Of course I'd like to be able to see the size when I press "Alt+Shift+Enter" or use "Space" to select items.
Is there a way to remove the text "<DIR>" from the size column for all folders/directories?
I don't see any need for it when we have meaningful icons for folders.
Of course I'd like to be able to see the size when I press "Alt+Shift+Enter" or use "Space" to select items.
you are probably right but this is not what I'm asking - I want it removed because it doesn't bring any meaningful information to me and it only clutters the display.
Last edited by pankov on 2012-12-02, 23:57 UTC, edited 1 time in total.
I think you can create your language modification and change this string. Create a file named e.g. WCMD_MY_ENG.lng in TOTALCMD\LANGUAGE dir with following contents:
Then edit it and replace "<DIR>" with e.g. " ". And choose this language file in TC configuration. All lines not mentioned in this file will be taken from original English translation. Second item, "<LNK>", is shown for junctions (folder links), you might want to remove them too.
Code: Select all
677="<DIR>"
678="<LNK>"
This will not totally remove "<DIR>" and "<LNK>" - there will still be an ">" leftCode:
677="<DIR>"
678="<LNK>"
Then edit it and replace "<DIR>" with e.g. " ".

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
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
NO, doesn't seem to help.Perhaps a "[lots of spaces] >" would do?
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
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
This is what Ghisler wrote on the private beta test forum in june 2007:

It has also been discussed on this forum here:
http://www.ghisler.ch/board/viewtopic.php?p=132040#132040
http://www.ghisler.ch/board/viewtopic.php?p=121016#121016
http://www.ghisler.ch/board/viewtopic.php?p=108270#108270
And later in the same thread he wrote:The > is added when there is no > at the end. This is done because these strings are limited in length by TC, to avoid that the columns become too wide and unreadable.
Of course this does not take into account that someone would not want these strings at all...
But that was only 5½ years ago...Currently there is no way to remove the ">". I will consider it for a later version.

It has also been discussed on this forum here:
http://www.ghisler.ch/board/viewtopic.php?p=132040#132040
http://www.ghisler.ch/board/viewtopic.php?p=121016#121016
http://www.ghisler.ch/board/viewtopic.php?p=108270#108270
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
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
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
There was also an old thread of mine: Total Commander Interface (GUI) Musings (2009-07-31)
Where it was discussed to change the [Folder] to: \Folder
Or a configurable leading/ending character for folder display.
Where it was discussed to change the [Folder] to: \Folder
Or a configurable leading/ending character for folder display.
others,
I think that a "0" (zero) is just as valid and easily distinguishable way to show that a folder/directory is empty or to be more precise - there are no files/folders with non-zero size and more importantly it will show only after requesting to see the size of the folder (Alt+Shift+Enter or selecting with Space) and not clutter the display when not needed.
I think that a "0" (zero) is just as valid and easily distinguishable way to show that a folder/directory is empty or to be more precise - there are no files/folders with non-zero size and more importantly it will show only after requesting to see the size of the folder (Alt+Shift+Enter or selecting with Space) and not clutter the display when not needed.