Colouring directories as well as files

English support forum

Moderators: white, Hacker, petermad, Stefan2

bogordo
Member
Member
Posts: 150
Joined: 2019-12-06, 09:07 UTC

Re: Colouring directories as well as files

Post by *bogordo »

Hi,
Almost 4 years later...

Im trying to colorize all the files starting with "Z_", thus "Z_file1.doc", "Z_file2.doc".... tried the code above for files but no luck:

Code: Select all

rut_SearchFor=Z_*.*
For sure is not ok....some help??

Thank you!!
TC license #346559
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Colouring directories as well as files

Post by *Gral »

You only provided a small part of the code - it's not enough to tell where you made a mistake. Additionally, for this to work, you don't need to define a search pattern - just add Z_*.* to the colors or such a line to the section

Code: Select all

[Colors]
ColorFilter1=Z_*.*
ColorFilter1Color=16711680
Change the ColorFilter number and the color itself accordingly

My advice - use the TC interface, do not add entries manually if you are not familiar with it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Colouring directories as well as files

Post by *ghisler(Author) »

Use saved searches (via Define... button) instead of just wildcards, it allows you to check the option
Advanced tab - Attributes - Directory
to only apply the filter to directories.
Author of Total Commander
https://www.ghisler.com
bogordo
Member
Member
Posts: 150
Joined: 2019-12-06, 09:07 UTC

Re: Colouring directories as well as files

Post by *bogordo »

Working perfectly, thank you very much Gral and ghisler!!

Best regards,
TC license #346559
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Colouring directories as well as files

Post by *Hacker »

Moderator message from: Hacker

Moved to the English forum.
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.
Post Reply