We often use the options in the right mouse menu to refresh, editing, deleting, copying, or property viewing, and so on, there are two "notepad" options (pictured) in Ghost Win7 for files or icons in the right-click menu "Open with", although both options can be opened, But such a display is very influential in aesthetics, especially the users of obsessive-compulsive disorder will find ways to delete one of them, first to see the specific situation of this problem.
Reason Analysis:
In fact, this is not a system failure problem, in the computer c:windows and C:windowssystem32 folder there are "Notepad.exe" program, the system in the associated Open program is also registered to the program, so the right menu will appear in two Notepad, We can delete one of these programs in the following ways.
Workaround:
1, a new Notepad in the system, and the following code copy paste, of course, you can also choose to manually enter:
@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, copy and paste the above code and save, and the Notepad format modified to. bat type of Notepad;
3, create a good Notepad. bat, double-click to run, you will find the right menu two Notepad is only one.
In fact, this method is also through the registry method to modify the key values, so that the two Notepad options are easy to fix, if you want to delete the Win7 pure version of the extra right menu Notepad options, you may wish to take the above methods to carry out the operation.