Created
March 18, 2022 11:06
-
-
Save adejones/91053edc57b60775cbc5fc209db43e93 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
:: delete all file types | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /f | |
:: delete it for directory | |
@reg delete "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text\command" /f | |
:: delete for directory background | |
@reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text" /f | |
@reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text\command" /f | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment