The New Item menu in File Explorer lets you create new files in the current folder, but you might not ever use some of the options. Here’s how to remove unwanted entries from the list.
通过“文件资源管理器”中的“新建项目”菜单,您可以在当前文件夹中创建新文件,但是您可能永远不会使用某些选项。 这是从列表中删除不需要的条目的方法。
You can access the New Item menu by clicking the “New item” button option when you’re in a File Explorer folder.
当您位于文件资源管理器文件夹中时,可以通过单击“新建项目”按钮选项来访问“新建项目”菜单。
You can also access it by right-clicking an empty area in a folder and then pointing to the “New” option on the context menu that appears.
您也可以通过右键单击文件夹中的空白区域,然后指向出现的上下文菜单中的“新建”选项来访问它。
Some programs will add new file types to this menu automatically, which can clutter up the menu if you’re never likely to use them. To remove an entry, you need to go into the Windows Registry and delete an entry.
某些程序会自动将新文件类型添加到此菜单,如果您永远不会使用它们,它们可能会使菜单混乱。 要删除条目,您需要进入Windows注册表并删除条目。
Standard Warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack, and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息 。 并在进行更改之前一定要备份注册表 (和您的计算机! )。
Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and then permit it to make changes to your PC.
通过单击开始并键入“ regedit”来打开注册表编辑器。 按Enter打开注册表编辑器,然后允许它对您的PC进行更改。
In the left sidebar of the Registry Editor will be a top-level key named HKEY_CLASSES_ROOT.
在注册表编辑器的左侧栏中,将有一个名为HKEY_CLASSES_ROOT的*项。
All of the files types are stored in here. We’re going to remove the “Contact” file type from the New Item menu. Expand the HKEY_CLASSES_ROOT key by clicking on the arrow next to it and then scroll down to find the file extension you want to remove from the New Item menu (in our case, this is “.contact” for a Contact file).
所有文件类型都存储在此处。 我们将从“新建项目”菜单中删除“联系人”文件类型。 通过单击旁边的箭头来展开HKEY_CLASSES_ROOT键,然后向下滚动以从“新建项目”菜单中找到要删除的文件扩展名(在我们的示例中,联系人文件为“ .contact”)。
Expand that key, and you’ll see a subkey called “ShellNew.”
展开该键,您将看到一个名为“ ShellNew”的子键。
Right-click this key and click “Delete” on the context menu.
右键单击此键,然后在上下文菜单上单击“删除”。
A confirmation message will appear. If you’re sure you want to remove the file type from the New Item menu, click “Yes.”
出现确认信息。 如果您确定要从“新建项目”菜单中删除文件类型,请单击“是”。
And that’s it. The file type—in this case, the Contact file type—is no longer in the New Item menu.
就是这样。 文件类型(在这种情况下为联系人文件类型)不再位于“新建项目”菜单中。
If you’ve deleted something incorrectly, you can add it back in, although you’ll need to create a template file first. This usually is as simple as creating a blank file and using that, but check out our guide for the full instructions.
如果您删除了错误的内容,则可以重新添加,尽管您首先需要创建一个模板文件。 通常,这就像创建一个空白文件并使用它一样简单,但是请查看我们的指南以获取完整说明。
翻译自: https://www.howtogeek.com/426985/how-to-remove-items-from-the-new-menu-in-windows-explorer/