右键“新建”菜单中没有“文本文档”的解决方法

in 收藏文章

 这是我遇到的问题,费了一番麻烦才搞定。开始很多人提供的直接修改注册表的方法没用,用windows优化大师、超级兔子也不行,今天找到解决方法了。

 把以下内容存入记事本: 

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"

 

然后保存好,修改后缀名,把.TXT改成.REG。双击导入到注册表中,就可以了。

0 Comments

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>