将下列内容复制后,新建一个记事本,粘贴上去,然后另存为*.reg,其中*为任意合法的字符(字符串),然后双击运行!已经过一叶扁舟测试
以下是word文档的注册信息
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"=""
以下是excel文档的注册信息
Windows Registry Editor Version 5.00
[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]
以下是word文档的注册信息
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"=""
以下是excel文档的注册信息
Windows Registry Editor Version 5.00
[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}"
本文转自 yeybz 51CTO博客,原文链接:http://blog.51cto.com/hmlwl/1537035