在安装windows的office软件时,一般情况下软件会在安装过程中自动将word、excal等添加到右键弹出菜单的“新建”项中,但有时也会出现特殊情况,新建中没有这几项,那就需要我们自己进行手动添加了。这里提出一简便方法,将下面内容复制到记事本中,将其以.reg的文件格式保存然后双击确定即可。
1、以下为添加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"=""
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2、以下为添加excal的内容
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}"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3、以下为添加ppt的内容
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"