/ini cmd switch opens new instance regardless of configuration

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
TinyDot
Posts: 3
Joined: 03 May 2019 20:59

/ini cmd switch opens new instance regardless of configuration

Post by TinyDot »

Hi,

I use XYplorer in portable mode and have been trying to keep my user files in a separate folder. For that I use a batch script to launch xyplorer using the /ini switch to point towards the right configuration. Only problem is that when I pass the /ini switch it always opens a new instance regardless of my settings in the configuration. Is this the expected behavior?

Version: XYPlorer Portable 19.90.0100
Command: xyplorer.exe /win=tray /ini=?:\Configurations\XYplorer\ (path To Folder I want to open)
Configuration:
General -> Startup & Exit -> Open command line start path in new tab (CHECKED)
General -> Startup & Exit -> Allow multiple instances (UNCHECKED)

Thanks a lot!

jupe
Posts: 3308
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: /ini cmd switch opens new instance regardless of configuration

Post by jupe »

From the help file (allow multiple instances section):
Note that if you use the /ini switch in the command line then you will ALWAYS get a new instance even
if "Allow multiple instances" is unchecked.

TinyDot
Posts: 3
Joined: 03 May 2019 20:59

Re: /ini cmd switch opens new instance regardless of configuration

Post by TinyDot »

jupe wrote: 04 May 2019 05:07 From the help file (allow multiple instances section):
Well, that answers it :oops:

Thanks

admin
Site Admin
Posts: 65267
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: /ini cmd switch opens new instance regardless of configuration

Post by admin »

jupe wrote: 04 May 2019 05:07 From the help file (allow multiple instances section):
Note that if you use the /ini switch in the command line then you will ALWAYS get a new instance even
if "Allow multiple instances" is unchecked.
I guess I should add that info to the /ini section as well... :ninja:

Post Reply