There is no new text document in the right-click menu bar

Right-click and find that there is no new text document in the menu. You can add it through the following steps. This operation will change the registry

Step 1: Click Start---click Run---input notepad.exe to pop up a new text document, and then add the following code to the document:

 Windows Registry Editor Version 5.00
  [HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"Content Type"="text/plain"


[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""


[HKEY_CLASSES_ROOT\txtfile]
@="文本文档"


[HKEY_CLASSES_ROOT\txtfile\shell]


[HKEY_CLASSES_ROOT\txtfile\shell\open]


[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@="NOTEPAD.EXE %1"

Save the document in a.reg format. After saving, make sure that the end ends with reg, then double-click the reg file and it will prompt whether to change the registry. Click Yes, and then right-click to see if the icon for the new text document appears now. Does not appear, restart the computer

Guess you like

Origin blog.csdn.net/limin322/article/details/8922844