win7 system right click on the text class file selection "Open the way" when there is usually a "Notepad" option, we can directly click to open & rdquo Notepad & ldquo;, recently there are win7 system user feedback in the open mode of their own system has a Notepad option into two, although you can choose to open, but look very strange, but also take up space. So, is there a way to delete one of them and leave only one? The answer is yes, let's take a look at the reasons and solutions.
Fault reason:
Many users will wonder why this happens. Through analysis, we found that there are notepad.exe in both C:windows and C:windowssystem32 folders. The system registers them separately when the program is opened, so there are two notebook options, of course, it is not possible to delete a main program.
Solution:
1. Open Notepad and copy the following code:
@echo off
if exist “%systemroot%notepad. Exe” set Npath=“%systemroot%notepad.exe %”1
if not exist “%systemroot%notepad.exe” set Npath=“%systemroot%system32notepad.exe %”1
reg add “HKCRtxtfileshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRApplicationsnotepad.exeshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRSystemFileAssociationstextshellopencommand” /ve /d %Npath% /t REG_SZ /f
2, then save as Notepad.bat Remember to select the file type as “ File”;
3, double-click to run Notepad.bat, there will be only one "Notebook“.
The above command is actually to modify the registry key value to achieve the repair effect in batch mode. If you encounter the same fault problem, you can solve the problem by the above method.
Note: For more exciting tutorials, please pay attention to the computer tutorial section, computer office group: 189034526 welcomes you to join
Windows 7s toolbar does not have the Copy, Copy, Delete buttons on the Windows XP toolbar, which mak
Now most systems, in the locked state, have an icon to turn off the computer. But if your system doe
1. First, we need to return to the traditional desktop position of the win8 system. After that, we c
Method 1: First find any other connected computer on the same
Windows 7 comes with software to easily complete the hard disk partition
Win7 system operation precautions
How to upgrade the Win7 system home version to the flagship version?
Desktop icon in win7 system cannot be dragged
Win7 system garbage? Use QQ computer housekeeper to clean up one button
How to check and repair audio device failure problems under Win7
How to connect LCD TV under Win7 system via HDMI
How to solve the four hot problems of Microsoft Windows7 system
Win7 system Apple Mobile Device can not start two solutions
How to use the JS script in the win7 Ultimate system to shut down
How to solve the loss of XP system local connection?
Microsoft: IE mouse tracking vulnerability has no impact
How to restore the default font of Win7 system? Win7 restore default font method
How to compress hiberfil.sys hibernation file in Win10?
How to make English version of Windows support display Chinese?
Win7 Ultimate 64-bit restore default theme method
Win7 delete restore point method
Experts share the secret of repairing Win7 and win2008 dual system errors