

To undo this change and restore standard Notepad as the default text editor in Windows, open another admin Command Prompt and use the following command (which is the same for both 32-bit and 64-bit versions):.Instead of standard Notepad, you should see Notepad++ launch. Now test out the change by performing an action that would normally launch Notepad, such as opening a text file.


Reg add "HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Optionsnotepad.exe" /v "Debugger" /t REG_SZ /d ""%ProgramFiles%Notepad++notepad++.exe" -notepadStyleCmdline -z" /f Reg add "HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Optionsnotepad.exe" /v "Debugger" /t REG_SZ /d ""%ProgramFiles(x86)%Notepad++notepad++.exe" -notepadStyleCmdline -z" /f
