Windows Hacks: Improve The Context Menu, Part 2
The Windows Context Menu appears when you Right-Click an object, whether it’s the Desktop or a file. The problem is, it’s missing some very basic options! We’re going to change all of that: This Registry Hack is part of a series on hacking the Windows Context Menu.
Clean Up the “Open With” Option
When you right-click on a file, one of the context menu options is “Open With“. It lets you choose to open the file with a program other then the default program that is registered with Windows. This list will change depending on the type of file you’re right-clicking. Sometimes the lists can get pretty long: When you install a program, they usually add themselves to this list! Sometimes, the programs that are listed just don’t work for that file type at all - Why would you want to open an .mp3 file with Internet Explorer?!
Let’s Clean This Mess
Warning: Before you play in your Windows Registry, please read this important information on editing the Windows Registry.
Open the Registry Editor by hitting the Windows Key+R, typing regedit and navigating to this location:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\FileExts
Once you expand the FileExts folder, you should see a bunch of file extensions. Expanding an extension’s folder should reveal folder named: OpenWithList. This is where all the list of programs, to open that file, is stored.
Example
Let’s expand the .html folder. As you can see from the following image, my computer thinks the following programs should open an html file:
- Firefox
- Dreamweaver
- Internet Explorer
- Notepad
- Word

Removing Programs
Now, I may occasionally use Notepad to edit html code, but why would I use Word?! I wouldn’t. You can remove entries by right-clicking the key (in the right pane), and clicking Delete. Easy!
Adding Programs
We don’t need the Registry to add a program to the list. Right-Click the file in question, click Open With->Choose Program. In the dialog that opens, you can choose any program you want! If it’s not listed, click the Browse button and navigate to any program - just remember that most programs can’t open any file!
Start Slide Show with PicLens LiteMegaman Loves These Related Posts:
I’ve been researching this for a while now and stumbled upon your post.
How does windows know where the program(s) listed in the MuiCache folder entries exist? For instance, one of your entries if FireFox.exe. How does windows know the path to FireFox.exe since it is not stored as part of entry?
Windows stores the path to programs in this Registry Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Firefox is located here (depending on your geographical location and FF version):
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\2.0(en-us)\MainLook for the Key: PathToExe