Hidden system/hidden files in 1 separate panel tree
Moderators: Hacker, petermad, Stefan2, white
Hidden system/hidden files in 1 separate panel tree
Its possible to not show the hide/system directories in the panel tree?
Elad
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is the following: The fully expanded tree (Alt+F10, old style Ctrl+F8 ) stored its directory list as a plain text file, and therefore couldn't store the attributes. Therefore I had to include all directories, also the hidden ones. Since the expand/collapse function can only be used with this tree, I have to show all hidden dirs with the new tree too. Also I would have to re-read the entire tree when the user changes the hidden/system status. Therefore I cannot change this behaviour, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
you can store hidden attribute by adding "*" or "" at the end of folder nameghisler(Author) wrote:The problem is the following: The fully expanded tree (Alt+F10, old style Ctrl+F8 ) stored its directory list as a plain text file. and therefore couldn't store the attributes.
ex:
[WINDOWS\INF*] this is hidden
[WINDOWS\JAVA] this is not hidden
while building the tree, you can deside to include folders name ending with * or not according to the user prefernce for the hidden/system files
i think the speed will not affected ver much
just an idea
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately it would make the treeinfo file incompatible with older versions of Total Commander. This is a real problem with network drives, where people with different versions of TC may have access...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
If this is a problem, why not make the new-formatted file with another name (like it was done with *.br1 and *.br2 files for buttonbar cache)?
If this is a problem, why not make the new-formatted file with another name (like it was done with *.br1 and *.br2 files for buttonbar cache)?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
2>Ghisler
Why you need to store the hidden attribute?
another idea!
while building the tree you can check if a folder is hidden or not and according to the user prefernce for the hidden/system files, you deside if you should adding this folder and its subfolders or not.
the speed will not affected at all if the user preference was showing hidden files because in this case you will skip folder attribut checking. but it maybe affected a bit in the other case (not showing hidden files)
if you dislike this, you can consider Flint idea

another idea!
while building the tree you can check if a folder is hidden or not and according to the user prefernce for the hidden/system files, you deside if you should adding this folder and its subfolders or not.
the speed will not affected at all if the user preference was showing hidden files because in this case you will skip folder attribut checking. but it maybe affected a bit in the other case (not showing hidden files)
if you dislike this, you can consider Flint idea
It is not "a bit" at all! Consider rereading of attributes for ALL the folders and subfolders on some 200GB-drive... This may take several minutes.ts4242 wrote:but it maybe affected a bit in the other case (not showing hidden files)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64