将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

将code添加到上下文菜单

If you are using Office 2007 in an environment where everybody else is using Office 2003, you might have already set Excel or Word to always save to 2003 format, but what about when you create new documents using the New menu? The only choices are now to create files in 2007 format, but we can add the old ones back.

如果在其他所有人都在使用Office 2003的环境中使用Office 2007,则可能已经将Excel或Word设置为始终保存为2003格式,但是使用“新建”菜单创建新文档时该怎么办? 现在唯一的选择是创建2007格式的文件,但我们可以将旧文件重新添加。

In case you aren’t sure what I mean, just right-click on the desktop and choose New from the context menu, and you’ll see Microsoft Office Word Document in the list, which creates a blank .docx file.

如果您不确定我的意思,只需右键单击桌面,然后从上下文菜单中选择“新建”,您将在列表中看到Microsoft Office Word文档,该文档将创建一个空白的.docx文件。

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

We can add the old item back to the list with a simple registry hack.

我们可以通过简单的注册表修改将旧项目添加回列表中。

Manual Registry Hack

手动注册表**

The “New” items are stored under the file type definition, under a ShellNew key. In order to create a blank document, you have to add a key named Nullfile to the right-hand side.

“新建”项存储在ShellNew键下的文件类型定义下。 为了创建空白文档,您必须在右侧添加一个名为Nullfile的键。

Open up regedit.exe through the start menu search or run box, and then browse down to the following key for the .doc extension:

通过开始菜单搜索或运行框打开regedit.exe,然后向下浏览至.doc扩展名的以下键:

HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew

HKEY_CLASSES_ROOT \ .doc \ Word.Document.8 \ ShellNew

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

Simply create a new string value on the right-hand side and name it Nullfile. You might have to wait a few minutes before it shows up in the New list, or you can always log out and back in.

只需在右侧创建一个新的字符串值并将其命名为Nullfile。 您可能需要等待几分钟,它才能显示在“新建”列表中,或者您随时可以注销然后重新登录。

You can do the same for the .xls file extension for Excel 97-2003 documents by browsing down to this key, and create the same Nullfile value on the right-hand side.

您可以通过向下浏览到此项,对Excel 97-2003文档的.xls文件扩展名执行相同的操作,并在右侧创建相同的Nullfile值。

HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew

HKEY_CLASSES_ROOT \ .xls \ Excel.Sheet.8 \ ShellNew

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

For Powerpoint 97-2003 you can browse down to the following key, creating the value again like before.

对于Powerpoint 97-2003,您可以向下浏览至以下键,像以前一样再次创建该值。

HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8\ShellNew

HKEY_CLASSES_ROOT \ .ppt \ PowerPoint.Show.8 \ ShellNew

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

You should see the items on the right-hand side now, but if you don’t you may have to wait a few minutes or log out and back in.

您现在应该可以在右侧看到项目,但是如果没有,则可能需要等待几分钟或注销然后再登录。

将code添加到上下文菜单_安装Office 2007之后,将Word / Excel 97-2003文档添加回到“新建”上下文菜单...

Downloadable Registry Hack

可下载的注册表黑客

You can simply download, extract, and then double-click on one of the included files to add the information into the registry. Each file is named according to the document type. There’s also included files to remove them as well.

您可以简单地下载,提取然后双击其中一个文件,以将信息添加到注册表中。 每个文件均根据文档类型命名。 还包括将其删除的文件。

Download AddOffice2003DocumentsToNewMenu Registry Hack

下载AddOffice2003DocumentsToNewMenu注册表黑客

翻译自: https://www.howtogeek.com/howto/microsoft-office/add-wordexcel-97-2003-documents-back-to-the-new-context-menu-after-installing-office-2007/

将code添加到上下文菜单