The new version of Notepad ++ 7.5.9 word processor brings a new feature to Windows which allows you to replace the default 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 features to the default Notepad text editor in the latest versions of Windows 10.
But let's take a look at the new version of Notepad ++ that brings a new option. Replacing the word processor is not fully automated, and should be done from a bar window orders that you have opened with administrator privileges.
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 in 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++\notepad++.exe\" -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 the information in the Windows registry that makes Notepad instead of Notepad ++ as the default text editor.
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
___________