How to make the right-click menu have the function of 'open with'

I can use it

C:\Windows\system32\OpenWith.exe "%1"

But its performance is different from Explorer.
What should I do?
Snipaste_2023-10-08_17-44-05
Snipaste_2023-10-08_17-44-32
I need the Explorer effect

Can the official provide this function for DO right-click menu?

FileType OPENWITHMENU can be used on a toolbar or menu to show the Open With menu, including an item which opens that dialog.

I don't know of a command that will show the dialog directly.

Okay, that's the effect I want

hmmm, im trying to hotkey this with ctrl+alt+o, thou nothings happening with a file selected. what am i missing?

FileType OPENWITHMENU generates a sub-menu where you put it on a toolbar or menu.

It won't do anything on a hotkey.

You could make a hotkey which opens a toolbar like a floating menu, and have the command on that toolbar, but there are also much easier methods (e.g. via the file right-click menu, it should be there already).

i just figures out how to use a hotkey to open with a particually app using "C:\Path To\app.exe" {filepath$}

:grinning: this is great!