subject: Create a Shortcut or Hotkey to Eject the CD or DVD [print this page] Create a Shortcut or Hotkey to Eject the CD or DVD
Maybe sometimes you will need to use the CD or DVD for playing music or video. But do you know how to creat a shortcut or hotkey to eject a CD or DVD drive? Now I will show you how to achieve it.
Create a Shortcut to Eject the CD/DVD Drive
Firstly, just right-click on the desktop or elsewhere and choose New Shortcut.
In the location box, put the full path to the nircmd.exe file that you downloaded, and append the "cdrom open" command to the end of it, adjusting the drive letter to match your disc drive:
"C:patho
ircmd.exe" cdrom open D:
Pay attention to the location of the quotes. If you are using a path with spaces in it, you need to check the quotes are only around the path to the executable, and the arguments should be placed after the quote.
Give the shortcut a name and you'll have a new icon (read below on how to use the cd-rom icon as shown).
Now you can move the icon to anywhere as you'd like. Just double-clicking on it and it will immediately eject the drive.
Create a Shortcut to Close the CD/DVD Drive
Also you can follow the same instructions as above, but instead of "cdrom open" just substitute "cdrom close".
Assign a Hotkey to the Shortcut
Now we have a shortcut. Just right-clicking on the icon and choose Properties to assign a hotkey. On the Shortcut tab you'll see a place to assign the Shortcut key.
Add in the shortcut key and close the dialog.
Note: You shouldn't restart anything for the hotkey to work as long as the shortcut is on your desktop.
Assign an Icon to the Shortcut
If you click on the "Change Icon" button in the properties window, you can give the shortcut a more meaningful icon, perhaps the DVD one you see below.
Of course you could choose any icon on the system as long as you'd like.
Welcome to http://www.newton360.com to get more information.
You can visit http://www.newton360.com/Detail/Create-a-Shortcut-or-Hotkey-to-Eject-the-CD-DVD-Drive.html to read the original article.
You can get more Windows 7 tips, Windows 7 Wallpapers, Windows 7 Software from http://www.Newton360.com