What about the two "Notepad" menu in the right key?

Source: Internet
Author: User

The Win7 system usually has a notepad option when you right-click on a text class file and choose "Open Mode". We can directly click on the right to open "notepad", recently Win7 system user feedback in their own system open mode has Notepad options into two, although the choice of which can be opened, But it looks very strange and takes up space. So is there any way we can remove one of them and leave only one? The answer is yes, let's look at the reasons and solutions together.

Failure Reason:

Many users would wonder why this happened, by analyzing what we found in C:windows and C: Windowssystem32 two folders have Notepad.exe, and the system in the association open the program when they registered separately, so there will be two Notepad options, of course, single Delete a main program is not.

Workaround:

1, open Notepad, copy the following code in:

@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 save Remember to select the file type as "All Files";

3. Double-click to run Notepad. bat, there will be only one notepad left.

The above command is actually batch processing to modify the registry key value to achieve the effect of repair, encountered the same problem can be solved by the above method.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.