strange (?) file coloring in "show hidden files" mode

English support forum

Moderators: white, Hacker, petermad, Stefan2

KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

in my config hidden files\folders colored as dark-blue:
https://ibb.co/94gBfYf

when I go to the subfolder - first line ".." becomes dark-blue too
https://ibb.co/ncxGQfr

shouldn't it be the same color as "Program Files" (white) ?
OS: Win10 | TC: latest x64
User avatar
Gral
Power Member
Power Member
Posts: 1474
Joined: 2005-01-26, 15:12 UTC

Re: strange (?) file coloring in "show hidden files" mode

Post by *Gral »

Seems to be OK - note attributes of ".."
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

2Gral
if i turn off "show hidden files\folders" - ".." become normal colored
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: strange (?) file coloring in "show hidden files" mode

Post by *ghisler(Author) »

".." is an entry in the directory like a file or folder and can have its own attributes. Often it has the same hidden or system attribute as the directory it is in, but this doesn't seem to be the case for all directories. For example, my c:\ProgramData directory has the 'hidden' attribute, while c:\ProgramData\.. has hidden and system attributes.
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

the screenshot shows that "D:\Program Files\" has no attributes
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: strange (?) file coloring in "show hidden files" mode

Post by *petermad »

the screenshot shows that "D:\Program Files\" has no attributes
You second screenshot https://ibb.co/ncxGQfr shows that the attributes for [..] is rh - so as ghisler write: "".." is an entry in the directory like a file or folder and can have its own attributes"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Gral
Power Member
Power Member
Posts: 1474
Joined: 2005-01-26, 15:12 UTC

Re: strange (?) file coloring in "show hidden files" mode

Post by *Gral »

petermad wrote: 2023-11-17, 18:47 UTC You second screenshot https://ibb.co/ncxGQfr shows that the attributes for [..] is rh ...
Actually it is "hs"
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: strange (?) file coloring in "show hidden files" mode

Post by *petermad »

Actually it is "hs"
Sorry - you are right :oops:
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

2petermad
take a closer look!

"hs" is for $RECYCLE.BIN

when i open Program Files - TC show ".." from $RECYCLE.BIN and it color

BUG :?:
OS: Win10 | TC: latest x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1256
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: strange (?) file coloring in "show hidden files" mode

Post by *AntonyD »

It's really strange - I 've checked all folders on C:\ where some attributes were applied - like H/S/R.
AND - in ALL cases - when I go in the folder X with attribs --hs for ex. its first entry '..' - shows exactly the same --hs.
So I even can't say that this problem/bug is reproducible either...
#146217 personal license
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

its 100% - bug!

tested on clean ini

https://ibb.co/ZhJ8Drc
https://ibb.co/Wf056cc

D:\sources\ ".." showing attributes from $RECYCLE.BIN
OS: Win10 | TC: latest x64
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

moder changed my post! why? :shock:
https://ibb.co/xgh2d4g
OS: Win10 | TC: latest x64
User avatar
white
Power Member
Power Member
Posts: 4677
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: strange (?) file coloring in "show hidden files" mode

Post by *white »

KozakMak wrote: 2023-11-18, 11:26 UTC moder changed my post! why? :shock:
Ask petermad.

Execute cm_SwitchHidSys and the hs attributes will disappear/appear. And the timestamp changes too.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: strange (?) file coloring in "show hidden files" mode

Post by *petermad »

2KozakMak
moder changed my post! why?
Sorry :oops: - I hit the wrong button before starting writing my post - I have deleted what I wrote in your post again.

Here is my question:
What makes you think it is showing attributes from $RECYCLE.BIN - and not for another reason? You have other hs folders in the root. Is it because $RECYCLE.BIN is the first item, that you think so?

But try this - add $RECYCLE.BIN to you ignore list (temporarily), so $RECYCLE.BIN is not shown in TC, does that make a difference when you go into Sources of Program Files? Or change the sort order in the panels, so $RECYCLE.BIN is not the first item.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: strange (?) file coloring in "show hidden files" mode

Post by *KozakMak »

petermad wrote: 2023-11-18, 11:41 UTC Or change the sort order in the panels, so $RECYCLE.BIN is not the first item.
tried it. now $RECYCLE.BIN in 4th position - the result is the same.
Maybe it taken from System Volume Information, i dont know
OS: Win10 | TC: latest x64
Post Reply