- Downloaded
- 153.9 GB
- Uploaded
- 44 TB
- Ratio
- 292.5
- Seedbonus
- 12,628,300
- Upload Count
- 11240 (11240)
Member for 8 years
This tutorial explains how to replace Notepad with Notepad++ in Windows 10
Using Notepad++ Plugin:
This is one of the safest methods to replace Notepad with Notepad++ completely in Windows 10. There is a handy Notepad++ plugin, named “NotepadStarterPlugin“, which lets you easily replace Notepad with Notepad++. You can install this plugin and restart Notepad++ to apply the changes.
Afer this, whenever you will open Notepad, Notepad++ will open. This plugin also works with previous versions of Windows.
Using a Batch File:
Step 1
Copy this code and save it whit this name “Notepad++replace.bat”
:CheckOSUsing Notepad++ Plugin:
This is one of the safest methods to replace Notepad with Notepad++ completely in Windows 10. There is a handy Notepad++ plugin, named “NotepadStarterPlugin“, which lets you easily replace Notepad with Notepad++. You can install this plugin and restart Notepad++ to apply the changes.
Afer this, whenever you will open Notepad, Notepad++ will open. This plugin also works with previous versions of Windows.
Using a Batch File:
Step 1
Copy this code and save it whit this name “Notepad++replace.bat”
IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
echo @echo off^
start ^"^" ^"C:\Program Files (x86)\Notepad++\notepad++.exe^" %%2 %%3 %%4 %%5 %%6> "C:\Program Files (x86)\Notepad++\npplauncher.cmd"
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"C:\Program Files (x86)\Notepad++\npplauncher.cmd\"" /f
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"C:\Program Files (x86)\Notepad++\npplauncher.cmd\"" /f
GOTO END
:32BIT
echo @echo off^
start ^"^" ^"C:\Program Files\Notepad++\notepad++.exe^" %%2 %%3 %%4 %%5 %%6> "C:\Program Files\Notepad++\npplauncher.cmd"
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"C:\Program Files\Notepad++\npplauncher.cmd\"" /f
GOTO END
:END
Step 2:
Execute that bat file as administrator and done. It will add a new value to Notepad’s registry
Now try to open Notepad and you will notice that Notepad++ has opened instead of Notepad.
Step 3:
To revert the changes, you need to delete the value added in Notepad registry. For this, access notepad.exe folder in Registry Editor.
The default location is: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe“. In that folder, you will find a Debugger value.
Delete that value and you will be able to access Notepad again.
Create a CMD File To Replace Notepad with Notepad++:
The above method can also be done manually by creating a *.cmd file and using the other steps:
Step 1:
Open Notepad or some other text editor to create a cmd file. You need to use two lines, mentioned below, to create that file.
@echo off
start "" "C:\Program Files (x86)\Notepad++\notepad++.exe" %2 %3 %4 %5 %6
Step 2:
When you have entered those two lines, save the file as “npplauncher.cmd”. After this, copy that file and paste it in the installation location of Notepad++ (C:\Program Files (x86)\Notepad++). It will replace original npplauncher.cmd file.
Step 3:
Now access notepad.exe folder/key in Registry Editor available under Image File Execution Options (see the step 3 of above method). If notepad.exe key doesn’t exist, you need to create it.
Step 4:
Add a string in notepad.exe key with the name “Debugger“. Double-click that string to add Value data.
The Value data must be “C:\Program Files (x86)\Notepad++\npplauncher.cmd“.
Add Value data and press OK to save the changes.
Now try to open Notepad and you will see that Notepad++ is opening.
If you want to use Notepad again, simply delete Debugger string.
Execute that bat file as administrator and done. It will add a new value to Notepad’s registry
Now try to open Notepad and you will notice that Notepad++ has opened instead of Notepad.
Step 3:
To revert the changes, you need to delete the value added in Notepad registry. For this, access notepad.exe folder in Registry Editor.
The default location is: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe“. In that folder, you will find a Debugger value.
Delete that value and you will be able to access Notepad again.
Create a CMD File To Replace Notepad with Notepad++:
The above method can also be done manually by creating a *.cmd file and using the other steps:
Step 1:
Open Notepad or some other text editor to create a cmd file. You need to use two lines, mentioned below, to create that file.
@echo off
start "" "C:\Program Files (x86)\Notepad++\notepad++.exe" %2 %3 %4 %5 %6
Step 2:
When you have entered those two lines, save the file as “npplauncher.cmd”. After this, copy that file and paste it in the installation location of Notepad++ (C:\Program Files (x86)\Notepad++). It will replace original npplauncher.cmd file.
Step 3:
Now access notepad.exe folder/key in Registry Editor available under Image File Execution Options (see the step 3 of above method). If notepad.exe key doesn’t exist, you need to create it.
Step 4:
Add a string in notepad.exe key with the name “Debugger“. Double-click that string to add Value data.
The Value data must be “C:\Program Files (x86)\Notepad++\npplauncher.cmd“.
Add Value data and press OK to save the changes.
Now try to open Notepad and you will see that Notepad++ is opening.
If you want to use Notepad again, simply delete Debugger string.
Last edited by a moderator: