The new Notepad++ text editor version 7.5.9 brings a new feature to Windows that allows you to replace the default program Windows text editor, Notepad.
Notepad ++ or PlusPlus add-on is a powerful word processor that offers much more features than Windows Notepad, although Microsoft has recently added some new characteristics in the default Notepad text editor in recent versions of Windows 10.
But let's take a look at the new version of Notepad++ which brings a new option. Text editor replacement is not fully automated, and should be done from a window lineof commands that you have opened with administrator rights.
Note: The following commands contain a specific path. You can copy and paste the commands immediately if you have the Node ++ installed in the default location but you need to edit the path if you have it installed somewhere else on your drive.
In Windows search, type cmd.exe, right-click cmd.exe, and select "run as administrator".
Alternatively, press Ctrl + Shift together and select open cmd.exe.
Confirm the UAC.
If you use it 32 bit version of Notepad ++ you should run the following command (copy paste to cmd.exe and press Enter):
reg add "HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ notepad.exe" / v "Debugger" / t REG_SZ / d "\"% ProgramFiles (x86)% \ Notepad ++ \ -notepadStyleCmdline -z "/ f
If you use it 64 bit version of Notep ++ you should run the following command:
reg add "HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ notepad.exe" / v "Debugger" / t REG_SZ/d "\ ProgramFiles% \ Notepad ++ \ notepad ++.exe \ "-notepadStyleCmdline - z "/ f
After running the command you selected you will see the confirmation "the operation completed successfully"
The command will change them information in the Windows registry that make Notepad the default text editor instead of Notepad++.
You can restore Notepad with the following command:
reg delete "HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ notepad.exe" / v "Debugger" / f
___________