How to Replace Notepad With Notepad++ or Other Text Editor?

Advertisements

The stock Notepad application that comes inbuilt in Windows OS is a lightweight app. There is not much scope of customizing or organizing your write-ups. This is normally about the coders who write codes on a notepad. Today there are more options like Sublime Text and Notepad++ that offer a better interface and more features if we compare them with classic Notepad app. So, in this guide, I will show you how to replace Notepad with Notepad++ or such similar applications.

I sometimes do coding in my free time. I always prefer Sublime Text although I also have Notepad++ installed on my PC. They are far better than the inbuilt Notepad application. To replace the Notepad you can change the file association or you can tweak the Registry as well. I have discussed both methods.

Replace Notepad with notepad++

Guide | Reeder vs Feedly: Which App is Better to Read RSS Feeds on iPhone

Replace Notepad With Notepad++ or Other Text Editor

First, let’s check out the file association change method.

Advertisements

Open All .txt Files through Notepad++

This one is the easiest way to replace the Notepad with 3rd party Note apps. Before doing the steps below makes sure to install the 3rd party Notepad app such as Notepad++ or Sublime Text on your PC.

  • Launch the classic Notepad
  • Create some content
  • save the file. This file and such similar files with .txt extension opens on classic Notepad
  • We will change this and set the Notepad++ to be the default app to open the txt files
  • Right-click on the file you just created > click Properties
    Open Files Properties
  • Click on Change
    Click Change
  • In the next dialog box, it says How do you want to open the .txt files from now on
    Open text files using Notepad++
  • If Notepad ++ app is not showing then click on More Apps
  • Now more apps will show up on that list. Scroll till you see Notepad++
  • Highlight Notepad++ and click OK.
    Replace Notepad with Notepad++
  • Now you can see in the Properties tab Opens With has changed to Notepad++
    Click Apply to replace notepad app
  • To confirm the changes click Apply

Replace Notepad By Tweaking the Registry Value

Now, let’s discuss the second method that involves modifying the registry value.

Disclaimer

GetDroidTips will not be responsible for any software error or any other problem in your PC’s operating system after you modify the registry. Do it at your own risk.
  • Open the command prompt by typing cmd in the search box > click Open
  • Then write this following code fragment
    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
    
  • The above command uses %ProgramFiles(x86)% because the modification is happening on a 64-bit PC.
  • Close the command prompt. That’s it done.

If you want to reverse this change we did above, that is also possible. You have to execute the following command on the command prompt.

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

Note

For this guide, I wrote about replacing Notepad with Notepad++. You can replace it with any other Note application of your choice as well.

So, these are the two working ways by which you can replace classic Notepad application with Sublime Text or Notepad++ on your Windows PC. I hope that this guide was helpful to you.

Advertisements

Read Next,

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Previous Post
Blackview A80

Download Blackview A80 Firmware Flash File – Android 10 Stock ROM

Next Post
Oukitel WP5 and WP5 Pro

How to Root Oukitel WP5 / WP5 Pro using Magisk without TWRP

Related Posts