Fail using explorer as a custom opening program
Posted: Mon Dec 08, 2025 5:41 pm
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:
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"