Page 1 of 1

/ini cmd switch opens new instance regardless of configuration

Posted: 03 May 2019 21:20
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!

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

Posted: 04 May 2019 05:07
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.

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

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

Thanks

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

Posted: 05 May 2019 11:54
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: