Adding an option to the right click menu.

I want to add some options to the right click menu. For instance, when I right-click a Haskell (.hs) file, I want to have an option "Compile with GHC". Following some instructions I found online, I went into regedit, and under HKEY_CLASSES_ROOT\.hs, I added shell\Compile with GHC\command, giving the compile command as the (Default) value for the command key. Yet nothing new appears on the right-click menu. What am I doing wrong?

Nevermind, figured it out. The .hs key had a data value that was screwing things up.

Last edited:
This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.