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.
|