I'm using Windows 7 64Bit SP1.
I want to open
.exe files with an application (a decompiler, actually). Is there a way to display the
open with dialog for these files in the right click menu, or something similar?
Well, let me post my answer in case no one comes up with a better one.
The easy way to get functionality that resembles what I'm looking for is to edit the
All we need to do is navigate to the
Context Menu Handlers
The answer you posted to your own question is indeed one way that you could do it. The method you describe is known as "adding a handler to the context menu" or "creating a context handler". You can use those terms to do more googling to find further information.
You might prefer to create a custom context handler to be a little bit cleaner (i.e. less clicks) in your workflow. There are a couple of different ways to achieve this- creating a custom entry.
Using assoc and ftype Utilities
These are command-line tools that were specifically created to manipulate the handlers/applications designated for each file-type. First, to explicitly define two terms. Forgive me if these are already obvious to you. They seem to cause confusion for most people though.
For example, the ".htm" and ".html" file extensions are both encapsulated by the "htmlfile" file type. Now for some examples using the assoc and ftype utilities from the command line. Open a terminal (Window Key + "R" and a "run" prompt should appear, enter "cmd.exe", click "ok" button or just hit enter).
These utilities can also be used to assign values to either extensions or file types. You can also edit the registry directly or use one of any number of utilities that assist you in manipulating these values.
In your question you specifically mention Open", so I am assuming that you know, at least a little bit, about "verbs" in the context menu. "Edit" is another common verb. You probably don't want to override the verb associated with the double-click. It is perfectly fine to create a new verb called "disasm" and have it show up in the context menu near the top so that R-click->Disasm is a quick process for you to execute.