Home How to How to Replace Notepad with Notepad++ (Quick Workaround)

How to Replace Notepad with Notepad++ (Quick Workaround)


Guess what? Now, it is possible to replace Notepad with Notepad ++, and this blog post will cover quick workaround on how to do that.

How to replace notepad with notepad ++

Notepad is a plain text editor that comes preinstalled in all the version of Windows operating system. It is part of Windows OS since Windows 1.0 which was released in 1985.

It is a good option when users want to do basic text editing and create documents. Advanced users like programmers and web developer usually use a robust text editor apps like Notepad++, Sublime Text, Geany, and others.

Notepad Plus Plus is popular among users and those definitely would like to replace it with the default text editor in Windows operating system, i.e., Notepad.

Notepad++ is a robust open source text editor that offers users various handy features which includes bookmarks, syntax highlighting, code folding, file system navigation, spell checking, customizable hotkeys, themes, find and replace with usual expressions and even more.

While for the advanced users liked programmers and developers, Notepad++ need no introduction.

How to Replace Notepad with Notepad++

Starting with Notepad++ 7.5.9, the company added the ability into the program that makes it easier for the users to replace Notepad with Notepad++ and make it default system editor in Windows operating system.

There is a unique value debugger that you can define in the Windows Registry editor to force Windows launch any app instead of the default or original app. This ability was introduced specially for the developers so that they debug problems, but it comes handy in other cases too.

Here’s what you need to do to replace Notepad with Notepad++

1. First of all download and install the latest version of Notepad++, i.e., Notepad ++ 7.5.9. If you’re using it already, then update it to the same version.

2. Run Elevated Command Prompt window on your system.

3. In the command terminal, you need to copy-paste the following command:

Users running a 32-bit version of the Notepad++ need to execute the following code:

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

Users running a 64-bit version of the Notepad++ need to implement the following code:

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

If the command is executed successfully, you will get the message “the operation completed successfully.”

4. Next, make a double-click on a text file or type notepad in the Start menu or Run dialog text box. This will launch the Notepad++

how to replace notepad with notepad plus plus
gif: geekermag.com/vineydhiman

As simple as that!

How to Revert the changes?

At any point, you want to reset the changed made above and wish to make Notepad default text editor again; then you need to execute the following command in elevated command prompt terminal.

reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /f.

That’s it! This is all about the workaround.

So now you tell me, are you going to replace Notepad with Notepad++ or stick to Notepad? Do you prefer any other text editor instead of Notepad and Notepad++? Whatever is in your mind, feel free to share it in the comments.

If you find this blog post useful, please share it on Social Media. A quick share will help in growth of this blog. It hardly takes 10 seconds, isn't it?
Viney Dhimanhttps://geekermag.com/
Himachali, Mechanical Engineer, Webmaster at Geeker Mag, Follow it on Telegram https://t.me/geekermag | https://about.me/deadbycrushing


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related to Tags

Notepad is now available for download on Microsoft Store as a...

With Windows 10 20H1, Microsoft decided to remove Notepad from the operating system and turn it into a standalone application. It is available for download on...

Related to Category

Firefox v85 to let you disable Search engine suggestion in address...

From last few updates for Firefox, Mozilla is working hard on improving address bar and made various improvements. Starting with Firefox v83, they added...