Page 1 of 1

[SOLVED] Always open in specific folder / Toujours ouvrir dans un dossier spécifique

Posted: 27 Mar 2018 05:53
by Redsky
Hello,

I would like that each time I open XYplorer, I get a specific folder. For the moment, it always open the last folder that was open when I closed the window.
In the settings, I have unchecked "remember the state of the tree" under "General /Three and list" but it seems that this is not the option I'm searching.

Does anyone can help me?

-------------------------

Bonjour,

J'aimerais qu'à chaque fois que j'ouvre XYplorer, j'arrive dans un dossier spécifique. Pour le moment, ça ouvre toujours le dernier dossier qui était ouvert quand j'ai fermé la fenêtre.
Dans les paramètres, j'ai décoché "se souvenir de l'état de l'arborescence" sous "Général / Arborescence et Liste" mais il semble que ça ne soit pas l'option que je recherche.

Est-ce que quelqu'un peut m'aider ?

Re: Always open in specific folder / Toujours ouvrir dans un dossier spécifique

Posted: 27 Mar 2018 07:42
by highend
Welcome to the forum

Activate the tab that contains that specific folder that you want to make the default to open
Press CTRL + L (it will lock this tab)

Configuration | General | Startup & Exit | Permanent startup path
Enter the path of this tab here

Save your settings and now whenever you restart XY it will switch to this locked tab with that specific folder
automatically

Re: Always open in specific folder / Toujours ouvrir dans un dossier spécifique

Posted: 27 Mar 2018 08:06
by Redsky
Thanks a lot!
And is it possible to close all tabs when I close the window? Because now when I re-open XYplorer, my specific folder is open but also all previous tabs.

Re: Always open in specific folder / Toujours ouvrir dans un dossier spécifique

Posted: 27 Mar 2018 10:46
by highend
You probably have this setting enabled:
Configuration | General | Startup & Exit | Save Settings | Save settings on exit

So XY saves all open tabs when it exits.

You can use a script to close all tabs before you close XY:

Code: Select all

goto '<the folder to always open>'; tab('closeothers');
or you could start XY with a script that does the same...

Code: Select all

<path to xyplorer>\xyplorer.exe /script="::goto '<the folder to always open>'; tab('closeothers');"

Re: Always open in specific folder / Toujours ouvrir dans un dossier spécifique

Posted: 27 Mar 2018 11:02
by Redsky
Perfect! Thanks a lot for your help.