如果您经常使用USB设备,例如USB拇指驱动器或外部USB硬盘驱动器,您很可能非常熟悉使用系统托盘中的“安全删除硬件(Safely Remove Hardware)”图标。您必须单击此图标以调出允许您弹出外部USB设备的菜单。
我们将向您展示一种创建快捷方式的方法,您可以使用它来快速访问 Windows 7/8/10 中的“安全删除硬件(Safely Remove Hardware )”对话框。
创建快捷方式(Create Shortcut)以安全移除硬件(Safely Remove Hardware)
右键单击(Right-click)桌面上的任何空白区域。选择New | Shortcut。
将显示创建快捷方式(Create Shortcut)对话框。将以下行复制并粘贴到“(Copy)键入项目的位置”(Type the location of the item )编辑框中。单击下一步(Next)。
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
在Type a name for this shortcut编辑框中输入快捷方式的名称,然后单击Finish。
新快捷方式的默认图标并不能很好地代表快捷方式的用途。我们访问http://www.iconfinder.com并搜索“ usb ”以找到一个合适的.ico文件,该文件可以用作快捷方式的图标,并下载了一个免费的图标文件。
更改快捷方式图标
要更改新快捷方式的图标,请右键单击新快捷方式并从弹出菜单中选择属性。(Properties)
显示属性(Properties)对话框。确保(Make)快捷方式(Shortcut)选项卡处于活动状态,然后单击更改图标(Change Icon)按钮。
将显示更改图标(Change Icon)对话框。要选择不同的图标,请单击浏览(Browse)按钮。
另一个更改图标(Change Icon)对话框显示用于选择图标文件。导航到保存下载的.ico文件的位置,或导航到包含所需图标的.icl、.exe或.dll文件的位置。(.dll)选择文件并单击打开(Open)。
您将返回到“更改图标”(Change Icon)对话框,并且您选择的图标文件将显示在框中。如果您选择了包含多个图标(.icl、.exe、.dll)的文件,该文件中的所有图标都会显示在框中。单击(Click)所需的图标,然后单击确定(OK)。
该图标显示在“属性(Properties)”对话框的“快捷方式(Shortcut)”选项卡的顶部。
创建键盘快捷键
您还可以添加键盘快捷方式来运行您创建的快捷方式。为此,请在“属性(Properties)”对话框的“快捷键”选项卡上的“快捷(Shortcut)键(Shortcut key)”编辑框中单击鼠标。按您要使用的键盘快捷键的键。密钥会自动输入到编辑框中。
单击“确定(OK)”关闭“属性(Properties)”对话框。
带有自定义图标的快捷方式在桌面上可用。
双击(Double-click)快捷方式可快速访问“安全删除硬件(Safely Remove Hardware)”对话框。
如果您想一键访问安全删除硬件(Safely Remove Hardware)对话框,您可以将新的快捷方式固定到任务栏(Taskbar)。为此,请右键单击桌面上的快捷方式,然后从弹出菜单中选择固定到任务栏。(Pin to Taskbar)
该快捷方式现在在任务栏(Taskbar)上可用。只需(Simply)单击一次即可访问“安全删除硬件(Safely Remove Hardware)”对话框。
注意:(NOTE:) 请记住(Remember),您还可以使用为快捷方式定义的键盘快捷方式。
您也可以在Windows 10(Windows 10)中创建此快捷方式。设置需要一些工作,但是当您必须从计算机中弹出USB设备时,它可以节省时间。(USB)享受!
Create Keyboard Shortcut to Access Safely Remove Hardware Dialog
If you use UЅB devices, such as USB thumb drives or еxternal USB hard drives a lot, you are most likely vеry familiar with using the Safely Remove Hardware icon in the system tray. You must click this icon to bring up a menu allowing you to eject external USB devices.
We will show you a method for creating a shortcut you can use to quickly access the Safely Remove Hardware dialog box in Windows 7/8/10.
Create Shortcut to Safely Remove Hardware
Right-click in any empty space on the desktop. Select New | Shortcut from the popup menu.
The Create Shortcut dialog box displays. Copy and paste the following line into the Type the location of the item edit box. Click Next.
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Enter a name for the shortcut in the Type a name for this shortcut edit box and click Finish.
The default icon for the new shortcut does not really represent the purpose of the shortcut very well. We went to http://www.iconfinder.com and searched for “usb” to find an appropriate .ico file that can be used as an icon for the shortcut and downloaded a free icon file.
Change Shortcut Icon
To change the icon for the new shortcut, right-click on the new shortcut and select Properties from the popup menu.
The Properties dialog box displays. Make sure the Shortcut tab is active and click the Change Icon button.
The Change Icon dialog box displays. To select a different icon, click the Browse button.
Another Change Icon dialog box displays for selecting an icon file. Navigate to where you saved the .ico file you downloaded, or to the location of the .icl, .exe, or .dll file containing the desired icon. Select the file and click Open.
You are returned to the Change Icon dialog box and the icon file you selected displays in the box. If you selected a file containing multiple icons (.icl, .exe, .dll), all the icons in that file display in the box. Click on the desired icon and click OK.
The icon displays at the top of the Shortcut tab on the Properties dialog box.
Create Keyboard Shortcut
You can also add a keyboard shortcut to run the shortcut you created. To do this, click the mouse in the Shortcut key edit box on the Shortcut tab on the Properties dialog box. Press the keys for the keyboard shortcut you want to use. The keys are automatically entered into the edit box.
Click OK to close the Properties dialog box.
The shortcut with the custom icon is available on the desktop.
Double-click the shortcut to quickly access the Safely Remove Hardware dialog box.
If you want to access the Safely Remove Hardware dialog box with only one click, you can pin the new shortcut to the Taskbar. To do this, right-click the shortcut on the desktop and select Pin to Taskbar from the popup menu.
The shortcut is now available on the Taskbar. Simply click it once to access the Safely Remove Hardware dialog box.
NOTE: Remember you can also use the keyboard shortcut you defined for the shortcut.
You can create this shortcut in Windows 10 as well. It’s a little bit of work to setup, but it saves time when you have to eject USB devices from your computer. Enjoy!