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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Redsky
Posts: 3
Joined: 27 Mar 2018 05:42

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

Post 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 ?
Last edited by Redsky on 27 Mar 2018 11:03, edited 1 time in total.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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
One of my scripts helped you out? Please donate via Paypal

Redsky
Posts: 3
Joined: 27 Mar 2018 05:42

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

Post 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.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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');"
One of my scripts helped you out? Please donate via Paypal

Redsky
Posts: 3
Joined: 27 Mar 2018 05:42

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

Post by Redsky »

Perfect! Thanks a lot for your help.

Post Reply