Many users want a quick and easy way to open up their CD/DVD drive right from their computer. Today I will show you how to create a shortcut to do just that.
How to Create a Shortcut to Eject the CD/DVD Drive
First download the NirCmd utility from Nirsoft here: https://www.nirsoft.net/utils/nircmd.html. Right-click on the desktop or somewhere else and click New- Shortcut from the menu. In the location box, put the pull path to the location of the downloaded NirCmd utility here. At the end, type “cdrom open” along with your disc drive letter. ( Ex: “C:\path\to\nircmd.exe” cdrom open D: ) Notice where the quotes are placed. Give the new shortcut a name, like Eject CD, and create the shortcut. You can put the new shortcut anywhere you want, and double clicking on it will open your disc drive.
How to Create a Shortcut to Close the CD/DVD Drive
Simply follow the instructions above, however this time instead of typing “cdrom open” just substitute “cdrom close”.
Give a Hotkey to the Shortcut
Right-click on the shortcut and select Properties from the menu. On the Shortcut tab, you will see a box to put in a Shortcut Key. Type in your desired shortcut key and close the window. Assuming the shortcut is on your desktop you shouldn’t need to restart anything for the hotkey to work. Now you can open your disc drive with just one (or two) keys on your keyboard.
Give an Icon to the Shortcut
Right-click the shortcut again and select Properties from the menu. Click the Shortcut tab, and you will find a button labeled Change Icon. You will then be able to browse and find a suitable icon for your shortcut. Simply select which icon you want to use and click Ok.