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
New command line switch equal to explorer.exe /select
Re: New command line switch equal to explorer.exe /select
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.
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: New command line switch equal to explorer.exe /select
It was a bug. Next beta should work as expected. No new switch needed.
FAQ | XY News RSS | XY Twitter
Re: New command line switch equal to explorer.exe /select
Thanks for reply. Do you mean the problem with highlighting?
And what about subfolder situation?
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.
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: New command line switch equal to explorer.exe /select
What about this (the final slash makes the difference):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.
C:\Sub
-> go to C:\, select Sub
C:\Sub\
-> go to C:\Sub\
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: New command line switch equal to explorer.exe /select
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
FAQ | XY News RSS | XY Twitter