How to do it in TC

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Orlando
Junior Member
Junior Member
Posts: 9
Joined: 2007-09-09, 18:27 UTC
Location: Netherlands

How to do it in TC

Post by *Orlando »

Greetings,

Do you guys know if I have these options in TC:

1) Different custom columns per folder
-> My audio, video and docs folders would have different custom columns, obviously to show only related and meaningful attributes

2) There's an exclude list to hide files/folder (hide x and y) but is there an include list to do the reverse? (only show x and y)
-> The reason is that I have more files to hide than the opposite

Your help is appreciated!

Cheers :)
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

1)
Look
here: http://www.ghisler.ch/board/viewtopic.php?t=13934

and here: http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Automatic_directory-specific_configuration_/_actions

2)
Use syntax:
*.* | *.ext1 *.ext2
for every extension you want show
e.g.:
*.* | *.html *.exe
to show only html & exe files

*.* | a*.html a*.exe
to show only html & exe files with names starting with "a"
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3897
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

1) Different custom columns per folder
-> My audio, video and docs folders would have different custom columns, obviously to show only related and meaningful attributes
Try to use "Configuration - Options - Display - Color - Define Colors by file type"

If you need further help with this, you may give us more details.
#5767 Personal license
User avatar
Orlando
Junior Member
Junior Member
Posts: 9
Joined: 2007-09-09, 18:27 UTC
Location: Netherlands

Post by *Orlando »

@Gral,
I'll have to wait for the native implementation of the custom columns per folder . From your links I understand it was already requested before (I prefer not to use the AHK method for now). Regarding the "include list", I didn't know about the pipe symbol workaround..Very useful. Many thanks for sharing.

@sqa_wizard,
I was referring to the header row of customizable columns, not the distinction between files. You gave me some other ideas though. Thank you :)

Thx!
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

For 1: you can also try plugin SuperWDX plugin - it allows to display different information for different file types in a single column.

For 2: you can use command like cd *.* | *.ext1 *.ext2 in a buttonbar button to switch to specified filter. Also you can use such command in custom em_usercommands that may be called via main menu or a shortcut key.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

*.* | *.html *.exe
to show only html & exe files
Unfortunately that will hide all folders, making navigating difficult.

This could be better:
*.* |*. *.html *.exe

It will at least show all folders that doesn't have a period in the name, but it will also show all files without an extension.

command like cd *.* | *.ext1 *.ext2 in a buttonbar button
This works the opposite way and will hide all files with extension ext1 and ext2
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: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

petermad, AFAIK filters can't control folders. Just try it once - filter *.* | *.html *.exe doesn't hide any folders.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

filter *.* | *.html *.exe doesn't hide any folders.
I certainly does, if you use it in the ignore list.

If you use *.html *.exe|*.*\ as a file mask (Ctrl+F12) it hides folders.

But if you use cd *.html *.exe|*.*\ in a button or an em_command it does not affect folders - maybe that is what you are thinking about.
Last edited by petermad on 2012-03-11, 02:42 UTC, edited 1 time in total.
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
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

2 petermad
Right, actually i don't use ignore list and forget that behaviour it's different than "User filter"
But
*.* | *.html *.exe *\
should works for ignore list?
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

*.* | *.html *.exe *\
You are right - that one shows all folders :-)
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: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think filters is better than ignore list for such task (it is easier to set/remove and doesn't affect on file operations with hidden files.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I think filters is better than ignore list for such task
But one thing: there is a limit to how long the filter can be - currently TC cannot use filters above 1024 bytes with the Custum mask (Ctrl+F12).

I haven't tested how long a line in the ignore list can be, but you can use several lines in the ignore list.
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
Post Reply