Trending
How to Replace Notepad in Windows | Notepad Alternatives | GETDroidTips

Using Notepad ++'s New Command Line

However, in any instance, if you don’t want to use Notepad++, you can revert back your action anytime by just following the same procedure, but this time you need to use this command.

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

#2. Use NotepadReplacer Program

Use NotepadReplacer Program

NotepadReplacer.exe registry editor

#3. Use a Custom VBScript

Set WshShell = WScript.CreateObject("WScript.Shell")
If wscript.arguments.count <2 then
	WshShell.run "notepad++.exe"
Else
	sCmd = "notepad++.exe " & """" & wscript.arguments(1) & """"
	WshShell.run sCmd
End If
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
c:\windows\system32\wscript.exe "c:\windows\npp.vbs"

Use a Custom VBScript in registry

HKEY_CLASSES_ROOT\txtfile\shell\open\command
%SystemRoot%\system32\NOTEPAD.EXE %1

to this value:

%SystemRoot%\system32\NOTEPAD.EXE "%1"

Method 2. Associate Text Files (.txt) with Notepad++

  1. First of all, you require to create a default text file on your Windows PC desktop. 
  2. Then, right-click on that text file and select the Properties option from the drop-down menu.
  3. Now, in the next window, select the Change button, click on the Notepad++ from opened list of apps, and hit the OK.
  4. Suppose, in case if you don’t find Notepad++ in that list, tap on the “More apps” option. This will extend the list. If you’re using the portable edition, then Notepad++ may not be listed there. However, if that’s the case, then we recommend you click on the “Look for another app on this PC” and then browse the Notepad++ folder to choose the .exe file.

Note: C:\Program Files (x86)\Notepad++\notepad++.exe is the default Notepad++.exe path.

That’s it. I hope this guide helped you replacing the Notepad in Windows. You can use any of the methods mentioned above and use Notepad++ as an alternative to Notepad. However, if you have any doubt or are stuck in any step while performing the above step, please ask us in the comment section. Furthermore, you can also find more exciting articles on our website, so don’t forget to visit here regularly.