Fail using explorer as a custom opening program

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, xnview

Post Reply
geoffm
Posts: 17
Joined: Fri Nov 06, 2015 6:54 pm

Fail using explorer as a custom opening program

Post by geoffm »

I want a "open image in folder" option to get explorer to open in the images' folder, with the image selected.
explorer /select,"filename" would do the trick.
However, when I add explorer as a program, with /select, as a parameter, it opens explorer in C:\
I thought it was because it didn't use the quotes around the destination file path, but my other custom launch program using GIMP works fine, and it wouldn't work without the quotes. It has to be something else, can't find what. Command line is pretty simple:

Code: Select all

C:\Windows\explorer.exe /select,"full filename"
jkm
Posts: 164
Joined: Sat May 11, 2024 12:43 am

Re: Fail using explorer as a custom opening program

Post by jkm »

What’s wrong with using the built in “Open in file manager” function on the right click menu, that does exactly that?
geoffm
Posts: 17
Joined: Fri Nov 06, 2015 6:54 pm

[solved] Re: Fail using explorer as a custom opening program

Post by geoffm »

jkm wrote: Mon Dec 08, 2025 9:37 pm What’s wrong with using the built in “Open in file manager” function on the right click menu, that does exactly that?
Well thanks for letting me know, I looked in all the menus and in the tab menu and I couldn't find this.
I would say what is wrong with that function is that it is only available in the image contextual menu, it should also be in the File app menu and in the tab menu.
Post Reply