New command line switch equal to explorer.exe /select

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

New command line switch equal to explorer.exe /select

Post by reyaz »

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: 21
Joined: 29 Feb 2016 17:15

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

Post by reyaz »

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: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

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

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

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

Post by reyaz »

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: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

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: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

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