How to recover a new Notepad menu with the right key

Source: Internet
Author: User

The first of these methods

1, at the same time press the "Win" (Window key) + "R" key or in the "Start" menu Search "Run", Bring up the "Run" menu, enter Cmd.exe, press ENTER to determine, enter the command prompt interface.

2, in the "Command prompt Interface" input "REG add" Hkey_classes_root.txt "/ve/d" txtfile "/F", press ENTER to determine, the following figure.

3, in the "Command prompt interface" and then enter "REG add" hkey_classes_root.txtshellnew "/V" nullfile "/F", press ENTER to determine.

4, now, we in the desktop space right click, select New, text document options have been restored.

The second method

1, click the "Start" menu, find "All Programs" in the "attachment" double-click "Notepad", OK open Notepad.

2, we add the following code in the new Notepad, as shown in the figure.

Windows Registry Editor Version 5.00

[Hkey_classes_root.txt]

@= "Txtfile"

"Content Type" = "Text/plain"

[Hkey_classes_root.txtshellnew]

"Nullfile" = "" [Hkey_classes_roottxtfile]

@= "Text Document"

[Hkey_classes_roottxtfileshell]

[Hkey_classes_roottxtfileshellopen]

[Hkey_classes_roottxtfileshellopencommand]

@= "Notepad. EXE%1 ".

3, the new Notepad select Save As, named Notepad.reg, choose to save the path, and then click "Save".

4, in our selected file path, double-click the Notepad.reg registry file, it will be imported into the registry. A warning prompt will appear, click "Yes" to allow the import, the right key to the new text document option has been restored.

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.