However, there’s no obvious way to do it.įrom the version 7.5.9 onward, you can run the following command to make Notepad++ replace Notepad (run in cmd.exe with Administrator privileges): reg add 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe' /v 'Debugger' /t REG_SZ /d '\'%ProgramFiles(x86)%\Notepad++\notepad++.exe\' -notepadStyleCmdline -z' /f
You may want to use Notepad++ instead of Notepad. Notepad is a default text editor shipped with Windows.