Page 1 of 1

Dual startup path / scripts

Posted: 14 May 2018 15:20
by highend
Test version: current beta

From the .chm:
XYplorer.exe C:\||D:\
The test version (fresh) is configured as followed:
View - Mini Tree - [x] Mini Tree
Panes - [x] Dual Pane
Panes - [ ] Horizontal Panes

Each pane has three tabs open
Left one: C:\Boot, C:\Users, C:\Windows
Right one: D:\Images, D:\Tools, D:\Users

Left pane is the active one, the middle tab is the active tab in both panes

Test 1:

Code: Select all

XYplorer.exe C:\||D:\
Opens a new 4th tab in the active pane with C:\
No other changes. The inactive panes active tab does NOT change to D:\

-> You should change the help file entry to contain double quotes...

Code: Select all

XYplorer.exe "C:\||D:\" /script="echo 'test';"
Works correctly BUT the /script is completely ignored...

Re: Dual startup path / scripts

Posted: 14 May 2018 18:11
by admin
1) Strange.
a) Works here (Win8.1) without the double-quotes (and with them).
b) Does not open a new tab here.
:?

2) You have to prefix the double-colon in this context:

Code: Select all

XYplorer.exe "C:\||D:\" /script="::echo 'test';"

Re: Dual startup path / scripts

Posted: 14 May 2018 18:21
by highend
1.) Mh, can recreate that at all times... Will try it under a different OS when I have time
2.) Tend to forget that :oops:

Edit: Tried it under Windows 7 x64 as well, same behavior...

Re: Dual startup path / scripts

Posted: 14 May 2018 19:22
by admin
We are talking about this, right?

Re: Dual startup path / scripts

Posted: 14 May 2018 19:44
by highend
Invoked via cmd but yeah...
cmd.png
cmd.png (3.31 KiB) Viewed 1397 times

Re: Dual startup path / scripts

Posted: 14 May 2018 20:09
by admin
OK, using this way I can fully confirm what you see. Only I cannot explain it. Probably the DOS-box has its own ideas about double quotes. I will add quotes to the example in Help.

Conc. opening a new tab: This seems to happen when the command is triggered by ENTER as opposed to mouse click. I assume the keydown-state plays a role here. ATM I have no time to research this.

Re: Dual startup path / scripts

Posted: 14 May 2018 21:39
by Asta
highend wrote:Tried it under Windows 7 x64 as well
MS mainstream support for W7 is over since january 2015 (https://support.microsoft.com/en-us/hel ... fact-sheet

Re: Dual startup path / scripts

Posted: 14 May 2018 22:00
by highend
@xyplorerköln
Do you want to read what _I_ would call rude? :mrgreen: