Two Tabs in Startup?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Two Tabs in Startup?

Post by sl23 »

In the Startup and Exit Options there's an option to select your startup folder, but I wondered if there's any way to always startup two folders in seperate tabs in a single pane?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Two Tabs in Startup?

Post by bdeshi »

Create a shortcut to XYplorer, open it's (the shortcut's) properties, and paste this AFTER the content of the target box. (Use your desired paths in place of C:\ and D:\)

Code: Select all

 /script="::$tab1='C:\';$tab2='D:\' tab('new', $tab1); tab('new', $tab2);"
This will always add two new tabs.

If you want to clear all previous tabs of active pane and start XY with ONLY those two, use this instead

Code: Select all

 /script="::$tab1='C:\';$tab2='D:\' tab('new', $tab1); tab('closeothers'); tab('new', $tab2);"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply