Skip to content

Instantly share code, notes, and snippets.

@MrGrigri
Created August 13, 2015 15:42
Show Gist options
  • Save MrGrigri/74782162dc6602b35ef0 to your computer and use it in GitHub Desktop.
Save MrGrigri/74782162dc6602b35ef0 to your computer and use it in GitHub Desktop.
Remove "Open with Sublime Text 3" context menu in File Explorer for Windows 10
@echo off
@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"
@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"
@java313
Copy link

java313 commented Feb 27, 2021

Is there any particular reason lines 2&3, 5&6 are duplicates? Anyhow, thanks!

No

@milhamfirdaus
Copy link

Thanks ^^

@nelfy
Copy link

nelfy commented Aug 1, 2022

Thanks

@PrasanthPerumalsamy
Copy link

@William-Abbot
Copy link

king

@CattopyTheWeb
Copy link

Thanks

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