A way to hide only some hidden files
A way to hide only some hidden files
I'm looking for a way to hide only some hidden files. Normally, I want to see hidden files everywhere. However, in one particular folder, there's a hidden file called desktop.ini that HAS to exist there, but I would prefer not to see it (in the list, at least - I don't care about the tree). I wouldn't mind hiding all hidden files in this folder, or all files called desktop.ini everywhere.
If Folder View Settings included the Show Hidden Files and Folders setting, I would be all set, but it doesn't. I wonder if there is another way...
If Folder View Settings included the Show Hidden Files and Folders setting, I would be all set, but it doesn't. I wonder if there is another way...
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: A way to hide only some hidden files
How about visual filter? adding the filter "|!desktop.ini" would hide desktop.ini, similarly for the folder you want to hide. Thats the only way i can think of as of now.
Re: A way to hide only some hidden files
Visual-filter is a nice, simple and fast idea, but when you use the feature in daily-use you need to reset the filter after using it for your own purposes, so I found out another solution for this, but it's way more complicated.
Display hidden files: on
Display system files: OFF
Give your desktop.ini-files the (S)ystem-attribute and you do not see them anymore, however this is not the best option, because S-attribute is used very often if you give folders custom icons with windows-functions, but the folder need only either S or (R)eadonly-attribute to parse the desktop.ini in it. (both attributes won't hurt anybody but one of them must be present)
So while I want to have S-attribut for "Document and settings" or the "windows"-folder to show them in a different color (when system items are shown), I don't want to have all folders with custom icons shown in red (or get hidden), therefore I allways replace the S-attribute with the R-attribute for custom-folders, when you do so, you can hide all items with S-attribute
Thats my way of solution, maybe this helps a little bit.
You don't need to replace all attributes manually, there are possibilies to do this with batch-files or xy-scripting, if this is a solution for you, I can help you with the replacement, but maybe there are better ideas out there, my favorite would be to store these "desktop.ini"-informations in a alternative data-stream of the folder, but I think this would never be possible...
Display hidden files: on
Display system files: OFF
Give your desktop.ini-files the (S)ystem-attribute and you do not see them anymore, however this is not the best option, because S-attribute is used very often if you give folders custom icons with windows-functions, but the folder need only either S or (R)eadonly-attribute to parse the desktop.ini in it. (both attributes won't hurt anybody but one of them must be present)
So while I want to have S-attribut for "Document and settings" or the "windows"-folder to show them in a different color (when system items are shown), I don't want to have all folders with custom icons shown in red (or get hidden), therefore I allways replace the S-attribute with the R-attribute for custom-folders, when you do so, you can hide all items with S-attribute
Thats my way of solution, maybe this helps a little bit.
You don't need to replace all attributes manually, there are possibilies to do this with batch-files or xy-scripting, if this is a solution for you, I can help you with the replacement, but maybe there are better ideas out there, my favorite would be to store these "desktop.ini"-informations in a alternative data-stream of the folder, but I think this would never be possible...
Operating System: Win10 x64 / Win11 x64 / almost allways newest XY-beta
totally XYscripting-addicted
totally XYscripting-addicted
Re: A way to hide only some hidden files
It would be a much nicer solution if Don gave us the ability to change attributes via script (without calling attrib, etc.), but I'm sure that'll happen eventually.
What I do for desktop.ini and Thumbs.db at least is to apply a color filter that is very close to the background color of the list in Browse Mode. They're obviously still there but I don't get as easily distracted by them.
I'm not sure I'd use an option to hide files matching a pattern, but I do see some use cases.
What I do for desktop.ini and Thumbs.db at least is to apply a color filter that is very close to the background color of the list in Browse Mode. They're obviously still there but I don't get as easily distracted by them.
I'm not sure I'd use an option to hide files matching a pattern, but I do see some use cases.
Re: A way to hide only some hidden files
I requested that allreadyTheQwerty wrote:It would be a much nicer solution if Don gave us the ability to change attributes via script (without calling attrib, etc.), but I'm sure that'll happen eventually.
See here: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=3397
Operating System: Win10 x64 / Win11 x64 / almost allways newest XY-beta
totally XYscripting-addicted
totally XYscripting-addicted
Re: A way to hide only some hidden files
I knew someone did.. In fact I thought I had requested it as well somewhere.fishgod wrote:I requested that allreadyTheQwerty wrote:It would be a much nicer solution if Don gave us the ability to change attributes via script (without calling attrib, etc.), but I'm sure that'll happen eventually.
See here: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=3397
Re: A way to hide only some hidden files
i also requested it, need a folder / file filter, i think don uses windows XP and it doest really suffer from this problem (system doest have desktop.ini files all over or useless junction folders) but in vista / 7 / 2k8 these files and extra folders are really annoying, and for me who needs to have all files shown , it would be really nice to hide the ones you dont need (like junction folders , desktop.ini ..etc)
this would need to take effect in both tree and pane view.
also .... where is don he hasn't updated in awhile, usually he is always doing something here.
this would need to take effect in both tree and pane view.
also .... where is don he hasn't updated in awhile, usually he is always doing something here.
Re: A way to hide only some hidden files
see http://www.xyplorer.com/xyfc/viewtopic. ... 563#p31563also .... where is don he hasn't updated in awhile, usually he is always doing something here.
We are all waiting XY 8.00 now, with pleasure....
Re: A way to hide only some hidden files
I don't have this need but we might call attrib with the hstart tool to change attributes and avoid a console window. Something like this to make an example
Code: Select all
run "<curpath>\hstart.exe /NOCONSOLE ""C:\WINDOWS\system32\attrib.exe +R <curpath>\test.txt""";Re: A way to hide only some hidden files
I also like to have an option to filter out (hide) some files/folder matching some pattern.TheQwerty wrote:I'm not sure I'd use an option to hide files matching a pattern, but I do see some use cases.
We have filter option to show some files/folder matching a pattern. Can we a new option to let some files/folder always hidden unless we remove the specific pattern?
-
admin
- Site Admin
- Posts: 65331
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: A way to hide only some hidden files
You can already define negative visual filters by prefixing a ! ...paul0 wrote:I also like to have an option to filter out (hide) some files/folder matching some pattern.TheQwerty wrote:I'm not sure I'd use an option to hide files matching a pattern, but I do see some use cases.
We have filter option to show some files/folder matching a pattern. Can we a new option to let some files/folder always hidden unless we remove the specific pattern?
FAQ | XY News RSS | XY X
Re: A way to hide only some hidden files
Thanks, Don. I prefer a default filter to apply all the tabs, panes, and tree such that those files/folders are hidden in the xyplorer. If we use filter, we need manual set for tabs, and "!<pattern>" will show on tab name.admin wrote: You can already define negative visual filters by prefixing a ! ...
-
admin
- Site Admin
- Posts: 65331
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: A way to hide only some hidden files
Ah I see, interesting idea. Something like the color filter for visibility. Maybe later...paul0 wrote:Thanks, Don. I prefer a default filter to apply all the tabs, panes, and tree such that those files/folders are hidden in the xyplorer. If we use filter, we need manual set for tabs, and "!<pattern>" will show on tab name.admin wrote: You can already define negative visual filters by prefixing a ! ...
FAQ | XY News RSS | XY X
Re: A way to hide only some hidden files
Yeah. It should work as a global filter.admin wrote: Ah I see, interesting idea. Something like the color filter for visibility. Maybe later...
XYplorer Beta Club