Adding Emacs to Windows Right Click Menu

Date April 13, 2008 by Isaac

First of all, if you don't have Emacs installed on Windows then you should download it now. :)

Once you have Emacs installed then you'll naturally want to add "Open With Emacs" to your Windows right-click menu. To do this you'll need to make a registry entry. The easiest way is to copy the following text into a file, call it emacs.reg or something similar, and then double click the file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\Open With Emacs]

[HKEY_CLASSES_ROOT\*\shell\Open With Emacs\command]
@="C:\\progs\\emacs-22.2\\bin\\runemacs.exe \"%1\""

Of course you should substitute the path to emacs with wherever you have it installed on your system.

That's it. Enjoy using Emacs in Windows.

Comments are closed.