XYplorer should auto-select item in folder when opened from somewhere else

Features wanted...
Post Reply
Keith94
Posts: 3
Joined: 20 Feb 2017 14:24

XYplorer should auto-select item in folder when opened from somewhere else

Post by Keith94 »

For example, when XYplorer is the default file manager, right-click a desktop shortcut to a file and choose "Open file location". XYplorer opens the folder with the file, but that specific file is not automatically selected. Please add an option to select the file automatically (Windows Explorer does this by default, and it greatly improves my workflow).

admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by admin »

Not possible unfortunately: Windows passes only the path in the command line, not the file.

Explorer.exe seems to get special treatment. Dunno how this works.

Keith94
Posts: 3
Joined: 20 Feb 2017 14:24

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by Keith94 »

I see, that's a shame. But thanks for the reply.

houaiss
Posts: 7
Joined: 27 Jul 2022 11:33

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by houaiss »

Hello
Just to make sure, this is still not possible, right?

admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by admin »

Right. In the meantime I know what it takes to make it work. It's ridiculously involved. Currently I don't feel like it.

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by Horst »

No problem here :)
Even when XY is not the default file manager (which is Total Commander in my case)
the following registry entry shows an "Open in XYplorer" for files or dirs and opens file entries selected in XY.
The pathes have to be adjusted of course.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open in XYplorer]

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open in XYplorer\command]
@="C:\\Tools\\XYplorer\\XYplorer.exe \"%1\""
 
[HKEY_CLASSES_ROOT\Directory\shell\Open in XYplorer]

[HKEY_CLASSES_ROOT\Directory\shell\Open in XYplorer\command]
@="C:\\Tools\\XYplorer\\XYplorer.exe \"%1\""
 
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by admin »

That's not meant here. It's about "Show in folder", e.g. from browsers, e.g. from Edge:
You do not have the required permissions to view the files attached to this post.

Evolve
Posts: 354
Joined: 27 Feb 2020 09:48

Re: XYplorer should auto-select item in folder when opened from somewhere else

Post by Evolve »

I remember this subject was discussed here:
How to make XYplorer the file manager for Open Path or Open Folder in other apps?
---------------------
The current solution is this glorious script by @autocart
[AHK] redirecting Windows Explorer to XY
The only downside - it goes through Explorer showing its window.
Having this feature natively would be some next level.

Post Reply