Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set notepad++ as default edit program for .html files
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.html\shell\edit\command /f /ve /t REG_EXPAND_SZ /d "\"^%ProgramFiles^%\Notepad++\notepad++.exe\" %1"

This will create a new key and add an Edit option to the file context menu!

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