New command line switch equal to explorer.exe /select

Features wanted...
Post Reply
reyaz
Posts: 18
Joined: 29 Feb 2016 17:15

New command line switch equal to explorer.exe /select

Post by reyaz » 17 Mar 2016 14:18

I'd like XYplorer to be able to select files and folders, when requested through command line switch.

Here are key differences between the proposed feature and /path switch:
1. When asked to open a subfolder inside a folder, /path makes XYplorer just open the subfolder, while /select opens the folder and selects the subfolder.
2. /path currently has certain issues with selecting objects (perhaps this is intentional). In most cases, XYplorer highlights the object instead of putting the selection on it. The behavior depends on what path was last opened in XYplorer, and whenever or not the asked path is already opened in any tab. /select should always select the object.

From what it looks like to me, it should be easy to implement this.

My previous thread about this feature (with more details): http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=15578
Article @ Microsoft: https://support.microsoft.com/en-us/kb/130510

reyaz
Posts: 18
Joined: 29 Feb 2016 17:15

Re: New command line switch equal to explorer.exe /select

Post by reyaz » 30 May 2016 18:43

I'd like developer to consider this feature, in case it was somehow missed. The alternative solution kindly provided by highend in the mentioned thread has certain limitations that prevent it from correctly working with all files.

admin
Site Admin
Posts: 48185
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: New command line switch equal to explorer.exe /select

Post by admin » 31 May 2016 11:44

It was a bug. Next beta should work as expected. No new switch needed.

reyaz
Posts: 18
Joined: 29 Feb 2016 17:15

Re: New command line switch equal to explorer.exe /select

Post by reyaz » 02 Jun 2016 16:41

Thanks for reply. Do you mean the problem with highlighting?

And what about subfolder situation?
1. When asked to open a subfolder inside a folder, /path makes XYplorer just open the subfolder, while /select opens the folder and selects the subfolder.

admin
Site Admin
Posts: 48185
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: New command line switch equal to explorer.exe /select

Post by admin » 02 Jun 2016 17:52

reyaz wrote:And what about subfolder situation?
1. When asked to open a subfolder inside a folder, /path makes XYplorer just open the subfolder, while /select opens the folder and selects the subfolder.
What about this (the final slash makes the difference):

C:\Sub
-> go to C:\, select Sub

C:\Sub\
-> go to C:\Sub\

admin
Site Admin
Posts: 48185
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: New command line switch equal to explorer.exe /select

Post by admin » 05 Jun 2016 10:20

That wasn't a good idea. Next version will have the /select switch:

Code: Select all

    + Command Line: Added switch /select. Works similar to /path but with 
      /select the parent folder is opened in the folder tree and the item is 
      select in the file list, no matter whether it's a folder or a file.
      - This will go to "E:\Test" in the tree, and select "Sub" in the file list:
        XYplorer.exe /select=E:\Test\Sub
      - These will go to "E:\Test\Sub" in the tree:
        XYplorer.exe /path=E:\Test\Sub
        XYplorer.exe E:\Test\Sub

Post Reply