如何在Windows中将应用程序添加到快速启动菜单

The Quick Launch bar, which was removed in Windows 7, can be added back to the Taskbar in Windows 7, 8, and 10. You can also add any programs you want to the Quick Launch bar and we’ll show you how.

Windows 7中已删除的快速启动栏可以添加回Windows 7、8和10中的任务栏 。 您还可以将所需的任何程序添加到“快速启动”栏中,我们将向您展示如何进行。

We’re going to show you how to add programs to the Quick Launch bar in Windows 10 using an option on the Send To menu to send a shortcut to the Quick Launch bar. The procedure here works in Windows 7 and 8 as well.

我们将向您展示如何使用“发送到”菜单上的选项将程序添加到Windows 10的“快速启动”栏中,以向“快速启动”栏中发送快捷方式。 此过程也适用于Windows 7和8。

将快速启动选项添加到发送到菜单 (Add the Quick Launch Option to the Send to Menu)

To get started, we need to add the Quick Launch option to the Send to menu. To do this, press Windows+R on your keyboard to open the Run dialog box. Type shell:sendto in the “Open” box and click the “OK” button or press Enter.

首先,我们需要在发送到菜单中添加快速启动选项。 为此,请按键盘上的Windows + R打开“运行”对话框。 在“打开”框中键入shell:sendto ,然后单击“确定”按钮或按Enter。

NOTE: The procedure in this section only has to be done once. Then, you can add as many programs as you want to the Quick Launch bar using the Quick Launch option on the Send to menu.

注意:本节中的过程仅需执行一次。 然后,您可以使用“发送到”菜单上的“快速启动”选项将所需数量的程序添加到“快速启动”栏中。

The SendTo folder opens in File (or Windows) Explorer. Right-click on an empty area in the right pane and go to New > Shortcut.

SendTo文件夹在文件(或Windows)资源管理器中打开。 右键单击右窗格中的空白区域,然后转到“新建”>“快捷方式”。

On the first screen of the Create Shortcut dialog box, enter the following path into the “Type the location of the item” box. Then, click “Next” to continue.

在“创建快捷方式”对话框的第一个屏幕上,在“键入项目的位置”框中输入以下路径。 然后,单击“下一步”继续。

%APPDATA%\Microsoft\Internet Explorer\Quick Launch

The name of the shortcut defaults to the name of the folder Quick Launch. If you want to change the name, type in a new one. Click “Finish” to create the shortcut.

快捷方式的名称默认为文件夹Quick Launch的名称。 如果要更改名称,请输入一个新名称。 单击“完成”创建快捷方式。

The Quick Launch shortcut is added to the SendTo folder. Don’t close the Explorer window quite yet.

快速启动快捷方式已添加到SendTo文件夹。 暂时不要关闭资源管理器窗口。

将应用程序添加到快速启动栏 (Add an Application to the Quick Launch Bar)

Now, we’ll add an application to the Quick Launch bar. To add an application to the Quick Launch bar, we want to send that application’s shortcut to the Quick Launch bar. In File (or Windows) Explorer, find the executable (.exe) file for the application you want to add. Generally, you’ll find .exe files for programs in either C:\Program Files or C:\Program Files (x86). When you find the .exe file, right-click on that file and go to Send to > Desktop (create shortcut).

现在,我们将一个应用程序添加到“快速启动”栏中。 要将应用程序添加到“快速启动”栏中,我们希望将该应用程序的快捷方式发送到“快速启动”栏中。 在文件(或Windows)资源管理器中,找到要添加的应用程序的可执行文件(.exe)。 通常,您可以在C:\Program FilesC:\Program Files (x86)找到程序的.exe文件。 找到.exe文件时,右键单击该文件,然后转到“发送到”>“桌面”(创建快捷方式)。

NOTE: Follow the procedures in this section for each application you want to add.

注意:对于要添加的每个应用程序,请按照本节中的步骤进行操作。

Rename the new shortcut to what you want displayed on the Quick Launch bar (if you decide to show text on the items). Then, right-click on the shortcut and go to Send to > Quick Launch.

将新的快捷方式重命名为要在“快速启动”栏上显示的内容(如果您决定在项目上显示文本)。 然后,右键单击快捷方式,然后转到发送至>快速启动。

You will now see the application on the Quick Launch menu. If it doesn’t display in the part of the Quick Launch menu that displays on the Taskbar, click the double arrow button to see the rest of the Quick Launch menu.

现在,您将在“快速启动”菜单上看到该应用程序。 如果它没有显示在任务栏上显示的“快速启动”菜单的一部分中,请单击双箭头按钮以查看“快速启动”菜单的其余部分。

If you want the application displayed on the Taskbar instead of in the popup list of remaining Quick Launch items, you can drag and drop the application item from the popup list to the Taskbar.

如果希望将应用程序显示在任务栏上,而不是显示在其余快速启动项目的弹出列表中,则可以将应用程序项目从弹出列表拖放到任务栏上。

Remember, you can show more applications on the Taskbar portion of the Quick Launch bar—you can see how in our guide to adding the Quick Launch menu back to Windows 7, 8, and 10.

请记住,您可以在“快速启动”栏的“任务栏”部分上显示更多应用程序-您可以看到如何在我们的指南中将“快速启动”菜单添加回Windows 7、8和10

If you decide to remove an application from the Quick Launch bar, simply open File (or Windows) Explorer, navigate to the Quick Launch folder.

如果您决定从“快速启动”栏中删除应用程序,只需打开“文件”(或Windows)资源管理器,然后导航至“快速启动”文件夹。

%APPDATA%\Microsoft\Internet Explorer\Quick Launch

Select the shortcut for the applications you want to remove and press the Delete key.

选择要删除的应用程序的快捷方式,然后按Delete键。

Now that you’ve added the application to the Quick Launch bar, you can go back to the shortcut you created for the application on the Desktop and delete it, if you don’t want it. You can now quickly access your applications without cluttering up your Taskbar or Desktop.

现在,您已将应用程序添加到“快速启动”栏中,如果不需要的话,可以返回在桌面上为该应用程序创建的快捷方式并将其删除。 现在,您可以快速访问应用程序,而不会使任务栏或桌面杂乱无章。

翻译自: https://www.howtogeek.com/howto/windows-vista/add-an-application-to-the-quick-launch-menu-in-vista/

要在 C# 程序中将应用程序设为开机启动,你可以使用 `Microsoft.Win32` 命名空间中的 `Registry` 类来修改注册表。下面是一个示例代码: ```csharp using Microsoft.Win32; using System; class Program { static void Main() { string appName = "MyApp"; // 应用程序的名称 string appPath = "C:\\Path\\To\\Your\\Application.exe"; // 应用程序的路径 // 创建或打开注册表项 RegistryKey rk = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); try { // 设置开机启动项 rk.SetValue(appName, appPath); Console.WriteLine("已将应用程序设置为开机启动。"); } catch (Exception ex) { Console.WriteLine("设置开机启动时出错:" + ex.Message); } // 关闭注册表项 rk.Close(); Console.ReadLine(); } } ``` 上述代码中,我们使用 `Registry.CurrentUser.OpenSubKey()` 方法打开 `HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run` 注册表项,该项存储了当前用户的开机启动项。然后,我们使用 `SetValue()` 方法将应用程序的名称和路径设置为注册表项的值。 请注意,你需要将 `appName` 替换为你的应用程序的名称,`appPath` 替换为你的应用程序的完整路径。 运行上述代码后,应用程序将被添加到开机启动项中。在每次用户登录时,应用程序都会自动启动。 如果你想要从开机启动项中移除应用程序,可以使用 `RegistryKey.DeleteValue()` 方法。例如: ```csharp rk.DeleteValue(appName); ``` 以上代码将从注册表中删除指定的开机启动项。 请注意,修改注册表需要管理员权限。确保以管理员身份运行你的应用程序,或者在运行时获得管理员权限。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值