In Windows 10 I have context menu item with which I can search selected file with the Everything app. The command of it is: "C:\Program Files\Everything\Everything.exe" -name-part "%1"
so it is passing name of the file to the app.
I'm looking for possibility to have exactly the same functionality, but without context menu. I would like to just select the file and press e.g. F7 to use Everything. Is it possible?
EDIT: I created shortcut with the key assigned, so I can call Everything via the F7 button, but when I use the above command in the shortcut Target field it results in a search query like: nopath:wfn:"%1"