Skip to content

Instantly share code, notes, and snippets.

@AminulBD
Last active February 3, 2024 02:29
Show Gist options
  • Save AminulBD/7d2bf7e9f076ea52238d198188029510 to your computer and use it in GitHub Desktop.
Save AminulBD/7d2bf7e9f076ea52238d198188029510 to your computer and use it in GitHub Desktop.
Open With Sublime 4 Text in Context Menu (Windows 10)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Sublime Text]
@="Open with Sublime Text"
"Icon"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,\
65,00,20,00,54,00,65,00,78,00,74,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,\
00,65,00,5f,00,74,00,65,00,78,00,74,00,2e,00,65,00,78,00,65,00,2c,00,30,00,\
00,00
[HKEY_CLASSES_ROOT\*\shell\Sublime Text\command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Sublime Text]
@="Open with Sublime Text"
"Icon"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,\
65,00,20,00,54,00,65,00,78,00,74,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,\
00,65,00,5f,00,74,00,65,00,78,00,74,00,2e,00,65,00,78,00,65,00,2c,00,30,00,\
00,00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Sublime Text\command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Sublime Text]
@="Open with Sublime Text"
"Icon"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,\
65,00,20,00,54,00,65,00,78,00,74,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,\
00,65,00,5f,00,74,00,65,00,78,00,74,00,2e,00,65,00,78,00,65,00,2c,00,30,00,\
00,00
[HKEY_CLASSES_ROOT\Directory\shell\Sublime Text\command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe \"%1\""
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\Sublime Text]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Sublime Text]
[-HKEY_CLASSES_ROOT\Directory\shell\Sublime Text]
@Kadreev
Copy link

Kadreev commented Jan 25, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment