主页 > 电脑教程 >

电脑右键新建菜单没有word、Excel、Powerpoint的解决办法

电脑教程 2016-12-12

最近发现电脑里所有的WordExcel文档都不能被系统识别,图标变成windows不能识别的图标格式,双击打开时不能被默认的程序打开,刚开始还以为中了病毒,杀了一遍毒也没发现问题,经过查资料分析得知:凡事这种现象基本上是文件关联性出错,只需到注册表中修改即可。

下面是office2003的方法:

1、增加word的方法(新建一个文本文档,把下面这段代码复制进去,存成.reg文件,直接双击运行,然后刷新几次就会发现右键的新建功能里面多了word):


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.doc]
@="Word.Document.8"
"Content Type"="application/msword"

[HKEY_CLASSES_ROOT.docOpenWithList]

[HKEY_CLASSES_ROOT.docOpenWithListWordPad.exe]
@=""

[HKEY_CLASSES_ROOT.docPersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"

[HKEY_CLASSES_ROOT.docShellNew]

[HKEY_CLASSES_ROOT.docWord.Document.6]

[HKEY_CLASSES_ROOT.docWord.Document.6ShellNew]
"FileName"="winword.doc"

[HKEY_CLASSES_ROOT.docWord.Document.8]

[HKEY_CLASSES_ROOT.docWord.Document.8ShellNew]
"FileName"="winword8.doc"

[HKEY_CLASSES_ROOT.docWordDocument]

[HKEY_CLASSES_ROOT.docWordDocumentShellNew]
"FileName"="winword2.doc"

[HKEY_CLASSES_ROOT.docWordPad.Document.1]

[HKEY_CLASSES_ROOT.docWordPad.Document.1ShellNew]
"NullFile"=""


2、增加excel的方法(新建一个文本文档,把下面这段代码复制进去,存成.reg文件,直接双击运行,然后刷新几次就会发现右键的新建功能里面多了excel):


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.xls]
"Content Type"="application/vnd.ms-excel"
@="Excel.Sheet.8"

[HKEY_CLASSES_ROOT.xlsExcel.Sheet.5]

[HKEY_CLASSES_ROOT.xlsExcel.Sheet.5ShellNew]
"FileName"="excel.xls"

[HKEY_CLASSES_ROOT.xlsExcel.Sheet.8]
@=""

[HKEY_CLASSES_ROOT.xlsExcel.Sheet.8ShellNew]
"FileName"="excel9.xls"

[HKEY_CLASSES_ROOT.xlsExcelWorksheet]

[HKEY_CLASSES_ROOT.xlsExcelWorksheetShellNew]
"FileName"="excel4.xls"

[HKEY_CLASSES_ROOT.xlsPersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"


3、增加ppt的方法(新建一个文本文档,把下面这段代码复制进去,存成.reg文件,直接双击运行,然后刷新几次就会发现右键的新建功能里面多了ppt):


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.ppt]
"Content Type"="application/vnd.ms-powerpoint"
@="PowerPoint.Show.8"

[HKEY_CLASSES_ROOT.pptPersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"

[HKEY_CLASSES_ROOT.pptPowerPoint.Show.4]

[HKEY_CLASSES_ROOT.pptPowerPoint.Show.4ShellNew]
"FileName"="powerpnt.ppt"

[HKEY_CLASSES_ROOT.pptPowerPoint.Show.8]

[HKEY_CLASSES_ROOT.pptPowerPoint.Show.8ShellNew]
"FileName"="pwrpnt11.pot"

如果是office2007:

HKEY_CLASSES_ROOT 下的.docx的键值改为Word.Document.12就ok了


标签: 电脑教程电脑技巧电脑知识

电脑软硬件教程网 Copyright © 2016-2030 www.computer26.com. Some Rights Reserved.