Hide Hidden/System Separation.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Hide Hidden/System Separation.

Post by *Balderstrom »

There is a Windows procedure that Total Commander likewise follows, where you can change the Icon of a Folder by:
1) Change a Folder (or Junction) Attribute to System
2) Store a Desktop.ini inside that folder,
Desktop.ini:
IconFile=..\AUTOHOTKEY_08.ico
IconIndex=0
ConfirmFileOp=0
Except, if you uncheck Show Hidden/System files, then Folders with a changed icon are now hidden.

I would like to see one of the following implemented if possible:
  1. Change "Show Hidden/System" to "Hide Hidden/System"
    Hide DIR: [x]
    .... [x] Hidden, [ ] System ... [x] Hidden AND System
    Hide File: [x]
    .... [x] Hidden, [ ] System ... [x] Hidden AND System
    The above settings would, Hide:
    Folders with attributes: [H], or [HS]
    Files with attributes: [H], or [HS]
  2. Leave "Show Hidden/System" as is, but separate the Tags:
    Show DIR: [x]
    .... [ ] Hidden, [x] System
    Show File: [ ]
    .... [ ] Hidden, [ ] System
    Not as flexible, these settings would Hide:
    Folders with attributes: [H], or [HS]
    Files with attributes: [H], [S], or [HS]
  3. OR minimally an option to NOT Hide, Folders/Junctions that are type System if they contain a desktop.ini.
But the first option, obviously, is the most flexible and more in line with TC's ignore file list: choosing what to hide not what to show.

Likely too many "options" for the GUI options, so if implemented would likely wind up as a wincmd.ini option.

Code: Select all

HideHiddenSystem=
0: OFF
1: Hide Hidden and System Folders.
2: Hide Hidden Folders
4: Hide System Folders
8: Hide Hidden and System Files.
16: Hide Hidden Files
32: Hide System Files
Current Way of handling Hidden/System would wind up with a value of: 63 (all flags: 1 + 2 + 4 + 8 + 16 +32)

Thanks.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW you may remove 'system' attribute and icon will be shown anyway. AFAIK 'read-only' attribute is used for displaying custom icons, not 'system'.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Doesn't work here, as soon as I remove the System attribute, TC reverts it back to normal folder or the junction shortcut arrow.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

MVV wrote:AFAIK 'read-only' attribute is used for displaying custom icons, not 'system'.
Actually, "Read Only" and/or "System" are used to show custom icon.
Balderstrom wrote:Doesn't work here, as soon as I remove the System attribute, TC reverts it back to normal folder or the junction shortcut arrow.
What's your OS?
User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2Balderstorm

The read only flag (+R) to mark a folder as system folder is the recommended way to customize folders:
MSDN:Customizing Folders with Desktop.ini
+S is only an alternative way.

BTW: Most of the junction points with +H+S in Vista/Windows 7 are not meant for the user.
Only for backward compatibility to redirect scripts with fixed -pre vista- system paths like "\Documents and Settings\All users\Application Data\" -> to the correct location "\ProgramData\".

Junction Points in Vista

Explore does not even allow to follow these links, while TC does!
My personal solution is to add these directory junctions to the ignore list.

So may I add that a way to hide these directories with attributes:

H Hidden files
S System files
L Reparse Points

should also be possible.

An alternative solution could be to extend the ignorelist to work together with defined searches and add some additional file system attributes to the search.

A perfect solution would be offered by multiple ignorelists:

"Files and Folders I never want to see"
"Files and Folders I want to be ignored during backup"
...

Regards
Holger
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Ah, Read Only Works.

@ HolgerK Thanks.

Request Still Stands though, would be nice to be able to HIDE folders/Files based on Attributes. And if there are newer attributes in Vista/Win07 they should likely be included :-)

And multiple IgnoreLists/Backup etc has been a wish of many almost since it was implemented...
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
petermad
Power Member
Power Member
Posts: 16117
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

And if there are newer attributes in Vista/Win07 they should likely be included
I agree - I would like to see attributes L and I (Reparse Point and Not Content Indexed) shown both in the Full View Attr column and in the Attributes options of the Advanced Search tab.
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 »

I think L and I are bad letters since TC shows attributes in small letters and theese two are similar.
User avatar
petermad
Power Member
Power Member
Posts: 16117
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It is the letter that Explorer uses - I think it is best to keep that to make less confusion.
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