Dual startup path / scripts

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
We strongly 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, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Dual startup path / scripts

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

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

Re: Dual startup path / scripts

Post 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';"

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

Re: Dual startup path / scripts

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

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

Re: Dual startup path / scripts

Post by admin »

We are talking about this, right?
To see the attached files, you need to log into the forum.

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

Re: Dual startup path / scripts

Post by highend »

Invoked via cmd but yeah...
cmd.png
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

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

Re: Dual startup path / scripts

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

Asta
Posts: 42
Joined: 02 Jan 2016 15:59

Re: Dual startup path / scripts

Post 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

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

Re: Dual startup path / scripts

Post by highend »

@xyplorerköln
Do you want to read what _I_ would call rude? :mrgreen:
One of my scripts helped you out? Please donate via Paypal

Post Reply