![00_lead_image_winx_menu_with_apps 00_lead_image_winx_menu_with_apps](https://i-blog.csdnimg.cn/blog_migrate/82d433514e2d81a30304325c35fc06d2.png)
A lot of us are lamenting the removal of the Start button and menu in Windows 8 Consumer Preview. However, a hidden context menu, or what is known as the Win+X menu, has been added.
我们中的许多人都对Windows 8 Consumer Preview中“开始”按钮和菜单的删除感到遗憾。 但是,已添加了隐藏的上下文菜单或所谓的Win + X菜单。
Update: This method no longer works. You can, however, add or tweak items in the Win+X menu using this guide instead.
更新 :此方法不再起作用。 但是,您可以改用本指南在Win + X菜单中添加或调整项目 。
The Win+X menu provides access to useful system tools including the Task Manager, Control Panel, Search, Programs and Features, System Settings, Run, Device Manager, among others. To access the Win+X menu, move your mouse to the extreme lower, left corner of your screen, where the Start button used to be, and right-click.
使用Win + X菜单可以访问有用的系统工具,包括任务管理器,控制面板,搜索,程序和功能,系统设置,运行,设备管理器等。 要访问Win + X菜单,请将鼠标移至屏幕的左下角,即开始按钮所在的位置,然后单击鼠标右键。
There are ways of renaming, removing, and moving entries on the Win+X menu, but we have not been able to add entries to the menu, until recently. Rafael Rivera has created a tool that is available on his Within Windows site, that allows you to create “approved shortcuts” that you can add to the folder containing shortcuts for the Win+X menu.
在Win + X菜单上有重命名,删除和移动条目的方法,但是直到最近我们才能够向菜单中添加条目。 拉斐尔·里维拉(Rafael Rivera)已创建了一个工具,该工具可在他的Windows站点中使用,该工具可让您创建“批准的快捷方式”,您可以将其添加到包含Win + X菜单快捷方式的文件夹中 。
We will show you how to use Rafael’s hashlnk tool to create approved shortcuts you can add to the Win+X menu. To begin, if you are on the Metro screen, click the Desktop tile.
我们将向您展示如何使用Rafael的hashlnk工具创建批准的快捷方式,您可以将其添加到Win + X菜单中。 首先,如果您在“地铁”屏幕上,请单击“桌面”磁贴。
![01_clicking_desktop_on_metro_screen 01_clicking_desktop_on_metro_screen](https://i-blog.csdnimg.cn/blog_migrate/e40e9083f505017ffb4d7657dc6f4490.png)
For this example, we are going to add Notepad to the Win+X menu. You can add a shortcut for any program to the menu. To do so, you can either create a shortcut from scratch from the .exe file for the program, or you can copy an existing shortcut from the desktop.
对于此示例,我们将向Win + X菜单添加记事本。 您可以将任何程序的快捷方式添加到菜单。 为此,您可以从程序的.exe文件从头开始创建快捷方式,也可以从桌面复制现有的快捷方式。
NOTE: The hashlnk tool changes the .lnk shortcut file. Therefore, we recommend you do not run the tool on your desktop shortcuts or other shortcuts. Run the tool on copies of existing shortcuts. It would also be easier if the shortcuts you want to change are in the same folder as the hashlnk tool.
注意:hashlnk工具更改.lnk快捷方式文件。 因此,我们建议您不要在桌面快捷方式或其他快捷方式上运行该工具。 在现有快捷方式的副本上运行该工具。 如果要更改的快捷方式与hashlnk工具位于同一文件夹中,也会更容易。
Open Windows Explorer from the icon on the Taskbar.
从任务栏上的图标打开Windows资源管理器。
![02_opening_windows_explorer 02_opening_windows_explorer](https://i-blog.csdnimg.cn/blog_migrate/de51d016b6494e811a99fda447bab8c5.png)
Navigate to the Windows folder, or the directory containing the program you want to add to the menu, find the .exe file, right-click on it and select Create shortcut from the popup menu.
导航到Windows文件夹或包含要添加到菜单的程序的目录,找到.exe文件,右键单击它,然后从弹出菜单中选择“创建快捷方式”。
![03_creating_a_shortcut 03_creating_a_shortcut](https://i-blog.csdnimg.cn/blog_migrate/65189353cc85e2e6a92ca367d9e69546.png)
You may see the following dialog box if you don’t have permission to edit the current folder. It doesn’t matter where the shortcut is placed, so click Yes to place it on the desktop. Then, to make it easier to use the hashlnk tool, copy or more the shortcut from the desktop to the folder containing the hashlnk.exe file.
如果您没有编辑当前文件夹的权限,则可能会看到以下对话框。 快捷方式的放置位置无关紧要,因此请单击“是”将其放置在桌面上。 然后,为了更轻松地使用hashlnk工具,请将快捷方式从桌面复制或复制到包含hashlnk.exe文件的文件夹中。
![04_create_shortcut_on_desktop 04_create_shortcut_on_desktop](https://i-blog.csdnimg.cn/blog_migrate/ee3e836414221d005cc5835c9578267d.png)
The hashlnk tool needs to be run from the command line. In Windows Explorer, press Shift and right-click on the folder containing the hashlnk.exe file. Select the Open command window here option to open a command window in which the command prompt will be set to the current folder.
hashlnk工具需要从命令行运行。 在Windows资源管理器中,按Shift,然后右键单击包含hashlnk.exe文件的文件夹。 选择“在此处打开命令窗口”选项以打开命令窗口,在该窗口中,命令提示符将设置为当前文件夹。
NOTE: To add the Open command window here option permanently to the context menu (so you don’t have to press Shift to access it), see our article Make “Command Prompt Here” Always Display for Folders in Windows Vista – How-To Geek.
注意:要将“在此处打开命令窗口”选项永久添加到上下文菜单中(因此您无需按Shift键即可访问它),请参阅我们的文章“在此处显示命令提示符”在Windows Vista中始终显示文件夹-操作方法极客 。
![05_open_command_window_here 05_open_command_window_here](https://i-blog.csdnimg.cn/blog_migrate/6886e513dbe036a8085f34be70c37fbd.png)
Type the following command at the prompt (replacing “Notepad.lnk” with the name of the the shortcut file you chose to use). Even if you don’t see the .lnk extension on your shortcut file, be sure to add it to the command.
在提示符下键入以下命令(将“ Notepad.lnk”替换为您选择使用的快捷方式文件的名称)。 即使您在快捷方式文件上看不到.lnk扩展名,也请确保将其添加到命令中。
hashlnk Notepad.lnk
hashlnk Notepad.lnk
NOTE: The “l” in “lnk” is an “L”, but lowercase.
注意:“ lnk”中的“ l”是“ L”,但小写。
There should be a message stating that the hash has been generated and applied. If you have other shortcuts you want to prepare for the menu, enter the command again with the name of another shortcut file. Type exit and press Enter when you are finished.
应该有一条消息,说明已生成并应用了哈希。 如果您要准备菜单的其他快捷方式,请再次输入命令并输入另一个快捷方式文件的名称。 输入exit并在完成时按Enter。
![06_entering_hashlnk_command 06_entering_hashlnk_command](https://i-blog.csdnimg.cn/blog_migrate/548cb0dd194d976ae508617b7b2cb4a8.png)
Copy the shortcut file(s).
复制快捷方式文件。
![07_copying_shortcut 07_copying_shortcut](https://i-blog.csdnimg.cn/blog_migrate/1d21b16af8be3ab80570abe2517492c3.png)
Go to the following directory in Windows Explorer.
在Windows资源管理器中转到以下目录。
%LocalAppData%Microsoft\Windows\WinX
%LocalAppData%Microsoft \ Windows \ WinX
The Win+X menu is split into three groups, by default, with separators between the groups. We are going to put our new shortcut in its own group, into which we can add other shortcuts. To do this, click New folder on the Home tab in Explorer.
默认情况下,Win + X菜单分为三组,每组之间有分隔符。 我们将把新的快捷方式放在自己的组中,可以在其中添加其他快捷方式。 为此,请在资源管理器的“主页”选项卡上单击“新建”文件夹。
![08_clicking_new_folder 08_clicking_new_folder](https://i-blog.csdnimg.cn/blog_migrate/00ecf6f214c38a6bc204c24276263c56.png)
Rename the new folder to Group4, as shown in the image below.
如下图所示,将新文件夹重命名为Group4。
![09_renaming_folder 09_renaming_folder](https://i-blog.csdnimg.cn/blog_migrate/7d7e87140148b88133e6e7a54c47a6cd.png)
Paste your shortcut file(s) into the new folder.
将您的快捷方式文件粘贴到新文件夹中。
![10_shortcut_pasted 10_shortcut_pasted](https://i-blog.csdnimg.cn/blog_migrate/ca4efc775f22be154796446e3ec3d08a.png)
The changes do not take place right away. You must restart Windows Explorer to see any shortcuts you added to the Win+X menu. To do this, start Task Manager, either from the Win+X menu or from the Taskbar.
更改不会立即发生。 您必须重新启动Windows资源管理器才能查看添加到Win + X菜单中的所有快捷方式。 为此,请从Win + X菜单或任务栏启动任务管理器。
![11_opening_task_manager 11_opening_task_manager](https://i-blog.csdnimg.cn/blog_migrate/3526af03e043f890ba630ee8b0979a79.png)
To see the Windows Explorer process, click More details at the bottom of the Task Manager window.
要查看Windows资源管理器过程,请单击“任务管理器”窗口底部的“更多详细信息”。
![12_clicking_more_details 12_clicking_more_details](https://i-blog.csdnimg.cn/blog_migrate/0e22ca34ecea0faa7009b3391e92b7e4.png)
If you currently have at least one Windows Explorer window open, the Windows Explorer process displays in the Apps section. If not, the Windows Explorer process displays in the Windows processes section. Select the Windows Explorer process and click Restart.
如果当前至少打开一个Windows资源管理器窗口,则“应用程序”部分将显示Windows资源管理器进程。 如果没有,则Windows资源管理器进程将显示在Windows进程部分中。 选择Windows资源管理器进程,然后单击重新启动。
![13_restarting_windows_explorer 13_restarting_windows_explorer](https://i-blog.csdnimg.cn/blog_migrate/5f5ffb05c2832b70998775efd91e8dd2.png)
Select Exit from the File menu to close the Task Manager.
从文件菜单中选择退出以关闭任务管理器。
![14_closing_task_manager 14_closing_task_manager](https://i-blog.csdnimg.cn/blog_migrate/40a306e242f2cbc0474fbde78ce54aaa.png)
Your custom shortcuts display on the Win+X menu.
您的自定义快捷方式显示在Win + X菜单上。
![15_notepad_added_to_winx_menu 15_notepad_added_to_winx_menu](https://i-blog.csdnimg.cn/blog_migrate/a49df4599d326c01274925fdbd0b96dd.png)
You can also rearrange the order of the groups. If you want your shortcuts at the bottom of the menu, as shown in the first image at the beginning of this article, put your shortcuts in Group1 and rename the other groups to follow.
您还可以重新排列组的顺序。 如果您希望快捷方式位于菜单的底部(如本文开头的第一幅图所示),请将您的快捷方式置于Group1中,然后重命名要跟随的其他组。
翻译自: https://www.howtogeek.com/113187/how-to-add-items-to-the-new-winx-menu-in-windows-8/