新建office2010文件为doc等早期格式

安装了Office 2010之后,鼠标右键新建中,创建的Word、Powerpoint、Excel只能是docx、pptx、xlsx等只有Office 2007/2010等版本支持的新格式,没办法直接创建一个doc、ppt、xls格式让其他Office 2003用户读取和编辑。

以下提供编辑注册表的方法,通过直接导入注册表文件,可以完美的实现在安装了Office 2010下,使用鼠标右键创建Office 2003版本的word、excel、ppt文档,支持Windows XP和Windows 7。

(Also published on FEAero.wordpress.com)

将以下代码写入文本文件,保存为WordnewDOC.reg,双击运行:

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”=”"

将以下代码写入文本文件,保存为PPTnewPPT.reg,双击运行:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ppt]
“Content Type”=”application/vnd.ms-powerpoint”
@=”PowerPoint.Show.8″
[HKEY_CLASSES_ROOT\.ppt\PersistentHandler]
@=”{98de59a0-d175-11cd-a7bd-00006b827d94}”
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.4]
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.4\ShellNew]
“FileName”=”powerpnt.ppt”
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8]
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8\ShellNew]
“FileName”=”pwrpnt11.pot”

将以下代码写入文本文件,保存为ExcelnewXLS.reg,双击运行:

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}”

运行完成之后就会在右键新建菜单中存在六个选项:“Microsoft Word 97-2003 文档、Microsoft Word 文档、Microsoft Powerpoint 97-2003 演示文稿、Microsoft Powerpoint 演示文稿、Microsoft Excel 97-2003 工作表、Microsoft Excel 工作表”,分别对应doc、docx、ppt、pptx、xls、xlsx格式。

P.S.:

以上操作如果没有马上出现效果可以注销或者重启一下,一般不需要。

原文地址:https://www.cnblogs.com/xwf2160/p/2520850.html