I have installed emacs on Windows 7. It works if I go to 'cmd' and type 'emacs'. But how can I configure it with a specific file extension (e.g. .txt') so that I double click it and it will use 'emacs' to open that file.
According to emacswiki: