Skip to content

Instantly share code, notes, and snippets.

@garethflowers
Created May 24, 2014 20:51
Show Gist options
  • Select an option

  • Save garethflowers/7ebe535e0685465e47f0 to your computer and use it in GitHub Desktop.

Select an option

Save garethflowers/7ebe535e0685465e47f0 to your computer and use it in GitHub Desktop.
Notepad Replacement Utility. A registry (reversible) method of changing the build the default Notepad application.
rem Specify the location of the new Notepad application here
set NOTEPAD_APP=%~dp0notepad.exe
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%NOTEPAD_APP%\" -z" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment