Open and close the CD-ROM door by pressing a key combination

 

Do you want to open or close the door of your CD-ROM simply by pressing a key combination ?
You can easily do that with NirCmd utility. Just download NirCmd ZIP file from here, extract NirCmd.exe to any folder you like, and then run NirCmd with the following command-line parameters:
nircmd.exe cmdshortcutkey “~$folder.desktop$” “Open CDROM” “CTRL+SHIFT+O” cdrom open
nircmd.exe cmdshortcutkey “~%folder.desktop%” “Close CDROM” “CTRL+SHIFT+C” cdrom close

After executing the above 2 lines, you’ll find 2 new shortcuts on your desktop: “Open CDROM” and “Close CDROM”. Pressing CTRL+SHIFT+O will activate the “Open CDROM” shortcut and will open the door of your CD-ROM. Pressing CTRL+SHIFT+C will activate the “Close CDROM”shortcut and will close the door of your CD-ROM.
The CTRL+SHIFT+O and CTRL+SHIFT+C are just an example, and you can choose any key combination you like, as long as it’s not registered by Windows or by any other software installed on your system.
If you have more than one CD-ROM drive, you can simply specify the drive letter of the CD-ROM that you want to open or close, for example:
nircmd.exe cmdshortcutkey “~$folder.desktop$” “Open CDROM” “CTRL+SHIFT+O” cdrom open h:
nircmd.exe cmdshortcutkey “~%folder.desktop%” “Close CDROM” “CTRL+SHIFT+C” cdrom close h:

Whenever you wish to remove these hot-key combinations from your system, simply delete these 2 shortcuts from your desktop

By Lu Jun

80后男,就职于软件行业。习于F*** GFW。人生48%时间陪同电子设备和互联网,美剧迷,高清视频狂热者,游戏菜鸟,长期谷粉,临时果粉,略知摄影。

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.