Win7 System Right-click menu to open two Notepad how to do

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.