How to one-time collapse ALL currently expanded folders?
How to one-time collapse ALL currently expanded folders?
XYplorer remembers the state collapsed/expanded of all folders in treeview.
This is great in general.
However sometimes I would like to perform a one-time manual reset of all states and collapse ALL folders in treeview with one click.
How can I achieve this?
This is great in general.
However sometimes I would like to perform a one-time manual reset of all states and collapse ALL folders in treeview with one click.
How can I achieve this?
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to one-time collapse ALL currently expanded folders?
Select "This PC" in the tree and press Numpad Divide.
FAQ | XY News RSS | XY Twitter
Re: How to one-time collapse ALL currently expanded folders?
If that's too drastic, you can use CID #1009. It will collapse the tree, but it will leave the links in view if they were before use. You could make a CTB calling out, #1009;
Type in key words like "collapse" in search bar under Help > List all commands...
Type in key words like "collapse" in search bar under Help > List all commands...
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: How to one-time collapse ALL currently expanded folders?
Don't know, but you can script what Don mentioned. Make a CTB with the following commands,
goto "This PC"; #1010;
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: How to one-time collapse ALL currently expanded folders?
We all may be confused, but in this case, I think hermhart is referring to CID #1009. My Links stay open with its use also, but not with #1010. If you currently have Links selected, #1009 does close it.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to one-time collapse ALL currently expanded folders?
Cannot create a single situation with 1009 or 1010 or numpad divide with mini or maxi tree where Links are not collapsed.
FAQ | XY News RSS | XY Twitter
Re: How to one-time collapse ALL currently expanded folders?
That's odd. If I'm on "C:\" with everything collapsed besides "Links", nothing at all happens. My Links folder I believe is in the standard location,
C:\Users\ken\Links
I've been on Windows 11 for a couple of months now. If I'm located on Links, #1009 does collapse it. I wonder if some other setting is affecting this?Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to one-time collapse ALL currently expanded folders?
Sure. That's by design. It only acts on the current node.
FAQ | XY News RSS | XY Twitter
Re: How to one-time collapse ALL currently expanded folders?
OK, so I was confused by your last reply. #1009 will only collapse Links if you are ON "Links".
So as you said
So as you said
goto This PC"; #1010;
will close everything and you'll only see "This PC" in the tree. If hermhart would rather see all the drives but in the collapsed state and Links collapsed as sell, use goto "Links"; #1009:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to one-time collapse ALL currently expanded folders?
No, if you are on "This PC" everything is collapsed, also links.
FAQ | XY News RSS | XY Twitter
Re: How to one-time collapse ALL currently expanded folders?
Which is what I said,
which is true and it collapses everything (including Links). (i.e., going to "This PC" and then using #1009 or #1010 will collapse everything). I've have no problem. I don't know if hermhart still does.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: How to one-time collapse ALL currently expanded folders?
If I have everything collapsed and I click on Desktop, Desktop expands, then I click on Documents, Desktop collapses and Documents expands, then all the same thing for all other nodes under This PC. But if I then click on Links, it expands, but if I click Desktop or Documents after that, or anything else, they will expand and collapse as they should, but Links will not collapse.
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to one-time collapse ALL currently expanded folders?
That's a different topic. You appear to be talking about "Configuration | General | Tree and List | Tree | Auto-optimize tree". Links is excluded from this by design.
FAQ | XY News RSS | XY Twitter