蓝天热键驱动

After writing yesterday’s article about creating a shortcut to the Safely Remove Hardware dialog, a number of readers mentioned to me that they’d like create a shortcut to immediately eject a specific drive, so we’ll cover that here.

在写完昨天有关为“安全删除硬件”对话框创建快捷方式的文章之后,许多读者向我提到他们希望创建快捷方式以立即弹出特定的驱动器,因此我们在此进行介绍。

Using the built-in Windows dialog is more powerful and probably would suffice for most people, but for those of us that want complete control there’s a small freeware utility called USB Disk Ejector.

使用内置的Windows对话框功能更强大,对于大多数人来说可能就足够了,但是对于我们这些想要完全控制的人来说,有一个名为USB Disk Ejector的小型免费软件实用程序。

Note: This utility only works for ejecting USB devices, so if you need to eject another type of device you’ll have to use the Windows method.

注意:此实用程序仅适用于弹出USB设备,因此,如果需要弹出另一种类型的设备,则必须使用Windows方法。

Using USB Disk Ejector from the GUI

从GUI使用USB磁盘弹出器

This utility is really quite slick… launch it and then either double-click or press enter on the usb device you’d like to eject. There’s literally nothing else to it.

这个实用程序真的很漂亮……启动它,然后双击或在您要弹出的USB设备上按Enter。 字面上没有其他内容。

If you assign a hotkey to the executable through a shortcut, you can operate the entire thing from your keyboard. Quite useful for keyboard ninjas!

如果通过快捷方式将热键分配给可执行文件,则可以通过键盘操作整个过程。 对于键盘忍者非常有用!

Using From the Command Line (Advanced)

从命令行使用(高级)

You can also use the utility from the command line, and pass parameters to tell it which drive to eject. It will work silently by default, so there won’t be any popups to deal with.

您也可以从命令行使用该实用程序,并传递参数以告诉它要弹出哪个驱动器。 默认情况下它将静默运行,因此不会有任何弹出窗口需要处理。

You can start off by passing in the /? parameter to show the help dialog:

您可以通过输入/开始。 参数以显示帮助对话框:

Now that you know the command line options, you can test them out… for instance, my flash drive is mounted as my G: drive, so I’d use this syntax:

既然您知道命令行选项,就可以对其进行测试……例如,我的闪存驱动器已安装为G:驱动器,因此我将使用以下语法:

usb_disk_eject /removeletter G

usb_disk_eject / removeletter G

You will only get a message if there is an error. For instance, if you run the same command a second time without the USB drive mounted, you’ll get this message that doesn’t seem very accurate:

如果有错误,您只会收到一条消息。 例如,如果您在未安装USB驱动器的情况下第二次运行相同的命令,则会收到此消息,该消息似乎不太准确:

You can also use the partial name matching if your USB drive seems to change letters a lot, but the syntax is slightly strange. To check for a partial name, append * to the beginning of a keyword. Do Not put a second asterisk in the search string, as it won’t work.

如果您的USB驱动器似乎更改了很多字母,也可以使用部分名称匹配,但是语法有些奇怪。 要检查部分名称,请在关键字的开头加上*。 不要在搜索字符串中加上第二个星号,因为它不起作用。

For instance, the full name of my flash drive is “Memorex TRAVELDRIVE 005B” so I could use the full name:

例如,我的闪存驱动器的全名是“ Memorex TRAVELDRIVE 005B”,因此我可以使用全名:

usb_disk_eject /removename “Memorex TRAVELDRIVE 005B”

usb_disk_eject /删除名称“ Memorex TRAVELDRIVE 005B”

Or I could just use *Memorex as the name instead:

或者我可以只使用* Memorex作为名称:

usb_disk_eject /removename “*Memorex”

usb_disk_eject /删除名称“ * Memorex”

Note: the /showeject parameter didn’t work for me at all under Vista, but it might work for you.

注意:/ showeject参数在Vista下根本不适合我,但它可能对您有用。

Create a Shortcut to Eject a Specific USB Drive

创建快捷方式弹出特定的USB驱动器

Now that we know how the syntax works, we can include that into a shortcut that can be launched from an icon or hotkey. Right-click on the desktop or elsewhere and choose New \ Shortcut.

现在我们知道了语法的工作原理,我们可以将其包含在可以从图标或热键启动的快捷方式中。 右键单击桌面或其他位置,然后选择“新建\快捷方式”。

In the location box, you’ll put the full path to the USB Disk Eject application file, and then append the /removeletter parameter to the end including the drive letter.

在位置框中,将完整路径放置到USB Disk Eject应用程序文件中,然后将/ removeletter参数附加到末尾,包括驱动器号。

C:\path-to\USB_Disk_Eject.exe /REMOVELETTER G

C:\ path-to \ USB_Disk_Eject.exe / REMOVELETTER G

You’ll want to give the shortcut a reasonable name, and then you’ll have an icon you can use to immediately eject the drive:

您需要给快捷方式起一个合理的名称,然后您将具有一个图标,可用于立即弹出驱动器:

Note that you could use the /removename parameter instead if you choose.

请注意,您可以选择使用/ removename参数。

Assign a Hotkey to the Shortcut

为快捷方式分配一个热键

Now that we have a shortcut, we can assign a hotkey to the shortcut by right-clicking on the icon and choosing Properties. On the Shortcut tab you’ll see a place to assign the Shortcut key:

现在有了快捷方式,我们可以通过右键单击图标并选择“属性”来为快捷方式分配一个热键。 在快捷方式选项卡上,您将看到一个分配快捷方式键的位置:

Add in the shortcut key and close the dialog. As long as the shortcut is on your desktop you shouldn’t have to restart anything for the hotkey to work. You can also move the shortcut to another folder, for instance your quick launch bar.

添加快捷键并关闭对话框。 只要快捷方式在您的桌面上,您就不必重新启动任何功能即可使热键起作用。 您也可以将快捷方式移动到另一个文件夹,例如快速启动栏。

Tip: If you add the shortcut to the Windows Vista quick launch bar, you can use the built-in hotkeys instead of bothering to assign one manually.

提示:如果将快捷方式添加到Windows Vista快速启动栏,则可以使用内置的热键,而不必费心手动分配一个。

Download USB Disk Ejector from mixnmojo.com

从mixnmojo.com下载USB磁盘弹出器

翻译自: https://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-immediately-eject-a-specific-usb-drive/

蓝天热键驱动

蓝天热键驱动_创建快捷方式或热键以立即弹出特定的USB驱动器相关推荐

  1. windows7 热键查看_创建快捷方式或热键以在Windows 7或Vista中打开任务管理器的“所有用户”视图...

    windows7 热键查看 Have you ever wondered how to open up Task Manager with the "All Users" view ...

  2. 计算机启动有一个硬件安装驱动,怎么解决电脑开机的时候总是弹出找到新的硬件向导的问题...

    最近,有Win7系统的用户遇到这么的一个问题,那就是每次电脑开机的时候,都会弹出一个"找到新的硬件向导"窗口:欢迎使用新硬件向导,点击关闭窗口之后,下次开机仍然会出现这个窗口.那要 ...

  3. autohotkey 热键_键盘快捷方式(热键),用于将鼠标移至多显示器配置中的显示器-AutoHotkey脚本

    autohotkey 热键 Introduction 介绍 In an interesting question here at Experts Exchange, a member requeste ...

  4. 用户帐户控制设置_创建快捷方式以避免用户帐户控制弹出式快捷方式

    用户帐户控制设置 There are numerous applications which, when launched, result in a UAC (User Account Control ...

  5. java一个界面用另一个界面的值_如何将参数/值从一个弹出窗口传递到Angular2中的另一个弹出窗口...

    我在Angular2中有一个要求,我需要打开第一个弹出窗口,用户会输入一些值 . 在某些用户事件(即按钮单击)上,我需要关闭该弹出窗口并打开另一个弹出窗口,其中包含用户在第一个弹出窗口中输入的值 . ...

  6. 塔菲克蓝牙适配器驱动_小身材,大功能,biaze毕亚兹USB蓝牙适配器开箱体验

    在日常生活中,我们平时使用的台式电脑或是笔记本电脑,想要传输数据或者音频的时候,都是需要借助数据传输线或是U盘等传输设备,使用过程可想而知,有点麻烦.我们都知道,手机是有蓝牙传输功能的,只需要配对成功 ...

  7. ecplice中class.forname一直报错_英雄联盟LOL闪退,弹出吉格斯报错BUGSPLAT

    不少玩家进入游戏对局之前就会弹出吉格斯报错,或者游戏中途出现报错等情况,网上说的办法很多,什么分辨率设置不对,提高虚拟内存,卸载一些不用软件等,都是有用的办法.弹窗下面有三个可点击,左边是上传错误日志 ...

  8. 5弹出搜索框_实用小技巧,电脑总是弹出广告,手把手教你永久关闭广告弹窗...

    在使用电脑时,总是会遇到各种各样的广告弹窗.这些广告弹窗往往附属在某些实用上件,因此我们又不能卸载相应的软件.在电脑开机或者当我们正在编辑文档时,这些莫名其妙的广告弹窗很影响心情,下面教大家如何永久关 ...

  9. dreamweaver连接mysql数据库 发生一个不知名错误_用DREAMWEAVER连接数据库测试时总是弹出发生一个不知名的错误 你好! 请问一下这个问题你是怎么解的?...

    展开全部 2018年05月05日 19:11:13 阅读数:1 编辑 如图,PHP+MySQL+DreamweaverCS6连接MySQL就出现不知名错误,查遍全网也没有解决办法.3231313335 ...

  10. plotplay恢复默认设置_手把手解答win10系统potplayer经常弹出自动更新提示的还原技巧...

    电脑犹如汽车,在使用过程中需要正确的方法,否则就会有win10系统potplayer经常弹出自动更新提示的情况出现,要处理win10系统potplayer经常弹出自动更新提示的问题,对于电脑专业人士来 ...

最新文章

  1. python之vscode中手动选择python解释器(mac)
  2. boost.asio openssl zlib protobuf icu vs2015编译
  3. 01.java内存模型
  4. Self Crossing
  5. JQuery中serialize()、serializeArray()和param()的使用方法
  6. ps一点等于多少厘米_劝告大家:女人40岁后,体重多少算正常?太瘦也不好
  7. VB2005.Net 环境下使用Jmail组件发送邮件
  8. mysql hang_mysql hang
  9. SentOS 7防火墙配置与端口增删改查的命令
  10. java第一次作业计科2班马浩加
  11. Money-去哪了每日站立会议
  12. mysql无法授权问题
  13. 让Fiddler调试localhost和127.0.0.1
  14. sas导入txt出现中文乱码解决方案
  15. 在opensuse tumbleweed 上开发51单片机
  16. 红包裂变被动吸粉引流方法,如何通过红包裂变的方式吸粉
  17. 中兴新支点操作系统_中兴新支点 OS 销量都过两亿套了?赶紧下载安装体验了一把...
  18. 《SEM长尾搜索营销策略解密》一一2.1 起因:核心词成本过高
  19. 了解talkingData
  20. 单体架构、SOA架构、微服务架构的优点缺点以及区别联系

热门文章

  1. ES 矩阵查询(Adjacency matrix aggregation)
  2. 苹果cms新手快速入门常见问题汇总及解决教程
  3. 技术债不是负担,而是成功的战略杠杆
  4. 你不知道的几个牛逼网站,欢迎收藏
  5. php域名绑定模块,ThinkPHP5.1 域名绑定模块
  6. 扯ruan蛋的房价,恶心死了我
  7. 智能优化算法:饥饿游戏搜索算法-附代码
  8. DateTime.ToString()的用法
  9. 好玩的Canvas射箭小游戏
  10. 从数据爬取到决策树建模——预测北京二手房房价