Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set notepad++ as default edit program for text files
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\text\shell\edit\command /f /ve /t REG_EXPAND_SZ /d "\"^%ProgramFiles^%\Notepad++\notepad++.exe\" %1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment