Open folders and select files in both panes from command line

Discuss and share scripts and script files...
Post Reply
ruslaw
Posts: 8
Joined: 21 May 2014 17:59

Open folders and select files in both panes from command line

Post by ruslaw »

If once I need to get started XYPlorer from some folder and definite file selected there I can use the following command (.bat/command line):
start xyplorer /script="::goto ('FolderPath'); selectitems 'FullFileName'"
But it's only for 1 pane.
But what if I need to do similar task in both panes (one folder/file in left pane and another one in right pane)?
Is there any solution?

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

Re: Open folders and select files in both panes from command line

Post by highend »

Code: Select all

focus 'P2'; goto...; selectitems...; focus 'P1'; goto...; selectitems...; 
One of my scripts helped you out? Please donate via Paypal

ruslaw
Posts: 8
Joined: 21 May 2014 17:59

Re: Open folders and select files in both panes from command line

Post by ruslaw »

Thank you very much!

Post Reply