Page 1 of 1

Open folders and select files in both panes from command line

Posted: 27 Aug 2017 23:24
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?

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

Posted: 27 Aug 2017 23:28
by highend

Code: Select all

focus 'P2'; goto...; selectitems...; focus 'P1'; goto...; selectitems...; 

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

Posted: 28 Aug 2017 02:27
by ruslaw
Thank you very much!