Sublime Text 2 Context Menu in Windows 8
contextmenu, editor, registry
Solution
I am using `Sublime Text 2` in `Windows 8` and I have no problem with the `Open with Sublime Text 2` button, actually I opened the .reg using it :)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2]
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command]
@="C:\\Program Files\\Sublime Text 2\\sublime_text.exe \"%1\""
I guess the fact you weren't escaping your backslashes might be the problem
Problem
As you may know, Windows 8 came out yesterday. I have upgraded, and everything seems to be working fine, but when I installed Sublime Text 2 for my code editor, the button in the context menu that used to say "Edit with Sublime Text 2" is not there anymore. I have tried using a custom registry script, and it adds the button, but Windows 8 still asks me what program I want to open it with. Here's the script I used: (Saved as add_context_menu.reg) ``` Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2] @="Open with S&ublime Text 2" [HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command] @="C:\Program Files\Sublime Text 2\sublime_text.exe \"%1\"" ``` Any help?