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?
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
Here you find two very detailed and well commented .reg files for Windows Context Menus. One for Version 2 and another one for Version 3 of Sublime Text.
https://github.com/cbmeeks/sublime-text-2-context-menu-windows
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With