# How to set up Emacs on Windows

Just so I have it documented somewhere for future reference, here’s how to quickly set GNU Emacs up on Windows.

 ```1 2 3 4 5 6 7 8 ``` ```REGEDIT4 [HKEY_CLASSES_ROOT\*\shell]   [HKEY_CLASSES_ROOT\*\shell\emacsmenu] @="Open with &GNU Emacs"   [HKEY_CLASSES_ROOT\*\shell\emacsmenu\command] @="C:\\emacs\\bin\\runemacs.exe \"%1\""```
 ```1 2 3 4 5 ``` ```(add-to-list 'load-path "c:/emacs/.emacs.d") (require 'color-theme) (color-theme-initialize) (when (display-graphic-p)   (color-theme-subtle-hacker)```