Created
February 16, 2022 17:31
-
-
Save primaryobjects/b09fbe7191d130d5bf04226f2eba8e48 to your computer and use it in GitHub Desktop.
Remove context menu opens to Open With Sublime Text 3 in Windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" | |
rem delete it for folders | |
@reg delete "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" | |
@reg delete "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" | |
@reg delete "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment