Code: Select all
name: ""
filter: ""
command: foo.exe "%1"
(1) single file (1.txt) selected:
pressing enter will execute the command.
the default item (displayed in bold font) in the context menu is "open", clicking it will do as pressing enter.
All behaviors are as expected.
here comes the wired thing...
(2) single file (1.abc) selected:
pressing enter will execute the command.
the default item in the context menu is "open with" of operating system, clicking it will do as the system, find app in microsoft store...
(3)multiple files selected (1.txt, 2.txt):
pressing enter will open all these selected files with notepad(windows default editor of txt file), not foo.exe designated in the command above.
the default item in the context menu is "open", clicking it do as pressing enter.
(4) multiple files selected (1.abc, 2.abc):
pressing enter will not execute the command, seems nothing happened.
the default item in the context menu is "open", clicking it will do as pressing enter.
(5) change command to: foo.exe "%*", same result. and have one more bug:
it will not double quote filename automatically, regardless of whether %* or "%*" is used.