没有txt,将下面代码,保存为.reg运行,导入注册表项即可
REGEDIT4
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"nullfile"=""
没有word和excel,同上,代码如下
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.doc]
@="Word.Document.8"
"Content Type"="application/msword"
[HKEY_CLASSES_ROOT\.doc\OpenWithList]
[HKEY_CLASSES_ROOT\.doc\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.doc\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
[HKEY_CLASSES_ROOT\.doc\ShellNew]
[HKEY_CLASSES_ROOT\.doc\Word.Document.6]
[HKEY_CLASSES_ROOT\.doc\Word.Document.6\ShellNew]
"FileName"="winword.doc"
[HKEY_CLASSES_ROOT\.doc\Word.Document.8]
[HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"
[HKEY_CLASSES_ROOT\.doc\WordDocument]
[HKEY_CLASSES_ROOT\.doc\WordDocument\ShellNew]
"FileName"="winword2.doc"
[HKEY_CLASSES_ROOT\.doc\WordPad.Document.1]
[HKEY_CLASSES_ROOT\.doc\WordPad.Document.1\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\.xls]
"Content Type"="application/vnd.ms-excel"
@="Excel.Sheet.8"
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.5]
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.5\ShellNew]
"FileName"="excel.xls"
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8]
@=""
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew]
"FileName"="excel9.xls"
[HKEY_CLASSES_ROOT\.xls\ExcelWorksheet]
[HKEY_CLASSES_ROOT\.xls\ExcelWorksheet\ShellNew]
"FileName"="excel4.xls"
[HKEY_CLASSES_ROOT\.xls\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"