Skip to content

modify item based on its exe and not title #292

Answered by RubicBG
pavichokche asked this question in Q&A
Discussion options

You must be logged in to vote

this code is simple and it will work:

modify(find='Open As Read-Only|Open in Protected View|"new"|Preview' where=(sel.file.ext=='.accdb' or sel.file.ext=='.maw') vis=remove)

you can use NirSort ShellMenuView ( http://www.nirsoft.net/utils/shell_menu_view.html ) to see which extensions are associated with which commands.

PS: what you are actually asking for the moment is not achievable with simple commands. You can do complex logic: search the windows registry for the commands for the corresponding extension, check if the command contains the executable you are looking for ...

I was able to create something similar with another command where I check 5 paths in the registry to get the same …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pavichokche
Comment options

Answer selected by pavichokche
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants