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: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 1091
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 x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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:
Attachments
2022-07-28_100122.png
2022-07-28_100122.png (17.11 KiB) Viewed 511 times

Evolve
Posts: 353
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