WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.
Add to "Recommended Programs" section of the Open With dialog
NOTE: In Windows 7 this will also show on the "Open with" context menu for registered file types (see image below).

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
Find or add a subkey of your chosen extension i.e ".bin", add or select subkey "OpenWithList" and add a REG_SZ
value with a name a
to z
depending on existing entries just use the next available letter and set the value to the name of your application executable. This may mean having an entry already available in HKEY_CLASSES_ROOT\Applications
that matches your executable name (see Add to "Other Programs" section of the Open With dialog section below).
You can control the order they appear by modifying the MRUList
REG_SZ
that will exist in the same subkey (see other extensions if you are unsure for how this is displayed).
You can also use subkey OpenWithProgids
instead but this works differently and relies on you having a registered ProgId in the HKEY_CLASSES_ROOT
hive of the registry.
Here is an example exported from my .asp
subkey
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.asp\OpenWithList]
"a"="PSPad.exe"
"MRUList"="bca"
"b"="NOTEPAD.EXE"
"c"="WinMergeU.exe"
Add to "Other Programs" section of the Open With dialog
HKEY_CLASSES_ROOT\Applications
Create a Key called your executable for example "myapp.exe" using this as an example create the following structure (taken from a registry export .reg file);
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\myapp.exe\shell\open\command]
@="\"C:\\myapp.exe\" \"%1\""