Remove the <DIR> text

English support forum

Moderators: Hacker, petermad, Stefan2, white

pankov
Junior Member
Junior Member
Posts: 9
Joined: 2012-12-01, 11:27 UTC

Remove the <DIR> text

Post by *pankov »

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.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think <DIR> is displayed to notify why size is not shown.
pankov
Junior Member
Junior Member
Posts: 9
Joined: 2012-12-01, 11:27 UTC

Post by *pankov »

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.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

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:

Code: Select all

677="<DIR>"
678="<LNK>"
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.
User avatar
petermad
Power Member
Power Member
Posts: 16151
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Code:
677="<DIR>"
678="<LNK>"

Then edit it and replace "<DIR>" with e.g. " ".
This will not totally remove "<DIR>" and "<LNK>" - there will still be an ">" left :-(
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
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You're right, strange thing. But I think single > is better if <DIR> is irritates you.
bobputnam
Junior Member
Junior Member
Posts: 77
Joined: 2003-05-26, 12:31 UTC
Location: Connecticut, USA

Post by *bobputnam »

Look in your character map for a "space". It's Alt-0160 in the US map.
Bob P
3-User License 71012
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

bobputnam, it won't solve problem with extra '>' character that TC adds if string doesn't contain it.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Perhaps a "[lots of spaces] >" would do?

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
petermad
Power Member
Power Member
Posts: 16151
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Perhaps a "[lots of spaces] >" would do?
NO, doesn't seem to help.
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: 16151
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

This is what Ghisler wrote on the private beta test forum in june 2007:
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...
And later in the same thread he wrote:
Currently there is no way to remove the ">". I will consider it for a later version.
But that was only 5½ years ago... ;-)


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
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

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.
pankov
Junior Member
Junior Member
Posts: 9
Joined: 2012-12-01, 11:27 UTC

Post by *pankov »

Balderstrom,
I think we are talking about different columns. If I understand your post you are talking about the actual folder name which I've already found a way to make look more native windows explorer like by removing the square brackets ([]). I'm asking about the "size" column though.
pankov
Junior Member
Junior Member
Posts: 9
Joined: 2012-12-01, 11:27 UTC

Post by *pankov »

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.
pankov
Junior Member
Junior Member
Posts: 9
Joined: 2012-12-01, 11:27 UTC

Post by *pankov »

Guys,
since I'm new to the forum I don't know how things go around here.
Should I continue hoping to get an answer from the developers or you think this is a lost cause?
Post Reply