Page 1 of 1
How to on the left hand pane show the sub folders open?
Posted: 07 Nov 2026 11:20
by davidhelp
1. How to on the left hand pane show the sub folders open?
Currently I have to press the + key next to the main folder.
XYplorer 27.20.1600
Windows 10 Pro
The solution was for me to press F9> Configuration> General> Tree and List then uncheck Auto-optimize tree.
Problem: each folder I open in the main window will in the left side pane will show the subfolders of the main folder I double clicked on in the main window on the right which is what I want but every other folder I click on in the main window will expand like the first but the past folders I opened are still expanded.
Question: How to have the past folders subfolders roll back up?
Re: How to on the left hand pane show the sub folders open?
Posted: 08 Nov 2026 04:30
by davidhelp
In a search I came across these steps.
They are not working as I want.
Remember state of tree was already unchecked.
Auto-optimize tree was already checked.
I already had this tweak: AutoOptimizeTreeRadical=1
---------------------------------------------
How do you close the sub folders in the left Navigation pane?
They stay open after I view the files and then close the folder then when re-open the sub folders are open.
Turn off "Remember state of tree"
1. Open XYplorer.
2. Go to:
Tools → Configuration
3. In the left side of Configuration, select:
General → Tree and List → Tree
4. Find:
☑ Remember state of tree
5. Uncheck it.
6. Click OK.
That setting controls whether XYplorer remembers which folders in the left-hand tree were expanded.
But there is an important distinction
If your problem is specifically:
I expand Pictures → open a subfolder → browse around → close that folder → later open Pictures again, and all of its subfolders are still expanded.
Then turning off "Remember state of tree" may not be exactly what you want, because XYplorer can retain the tree's expansion state during the current session as well.
There is a more useful XYplorer feature called Auto-optimize tree. It automatically collapses non-current branches when you navigate.
Try:
Tools → Configuration → General → Tree and List → Tree → ☑ Auto-optimize tree
There is a specific combination that gets closest to the Windows Explorer behavior you described.
Use these settings
Go to:
Tools → Configuration → General → Tree and List → Tree
Set the options as follows:
Setting Set it to
Auto-optimize tree ☑ ON
Expand tree nodes on browse ☐ OFF
Expand tree nodes on single click ☐ OFF
Remember state of tree ☐ OFF
The important one is Auto-optimize tree. XYplorer describes it as automatically collapsing non-current nodes in the Tree.
Then make one additional change
XYplorer has an INI tweak called:
AutoOptimizeTreeRadical=1
This makes the auto-optimization happen on each location change, rather than only under the normal Auto-optimize conditions. The XYplorer administrator specifically recommends this when Auto-optimize Tree isn't collapsing folders aggressively enough.
My settings:
Re: How to on the left hand pane show the sub folders open?
Posted: 08 Nov 2026 04:46
by davidhelp
It looks to be working now. I am not sure why other then using the settings I posted.