• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

How To Eject/Close CD/DVD Drive Tray With Desktop Shortcut

Status
Not open for further replies.

topgear

Super Moderator
Staff member
By default windows only allow us to eject the CD/DVD drive tray
from the explorer. But windows doesn't allow us to close the drive tray.
There are software & tricks available that allows you to eject/close
your CD/DVD drive tray. But to use them either you have to open up explorer
or run a software in background.

But it's more convenient & easy to open your CD/DVD drive tray from the
desktop.

In this tutorial we are going to see how to eject & close CD/DVD
drive tray using desktop shortcut.

Steps :

1. First download a tool called NirCmd from here

2. Unzip it. Copy the file "nircmd.exe" into your
windows dir ( for eg. C:\Windows )

Shortcut for opening/ejecting CD/DVD Drive Tray

3. Right click on a free space on the desktop.

4. Select New > Shortcut & a new window will appear.

5. In the location area browse to the path of the "nircmd.exe" file location
in this case it's C:\Windows\nircmd.exe

6. Now put a space at the end of the line ( C:\Windows\nircmd.exe )
and type in this cdrom open h: ( assuming your Cd/DVD drive letter is H:)
So the whole line will look like C:\Windows\nircmd.exe cdrom open h:

2008-11-20_231149.gif


7. Click next & give name of the shortcut like Open DVD Drive. Click Finish.

Shortcut for Closing CD/DVD drive tray

1. Repeat the steps 3.4.5

2. Now put a space at the end of the line ( C:\Windows\nircmd.exe )
and type in this cdrom close h: ( assuming your Cd/DVD drive letter is H:)
So the whole line will look like C:\Windows\nircmd.exe cdrom close h:

2008-11-20_233025.gif


3. Click next & give name for the shortcut like Close DVD Drive. Click Finish.

To add an icon to the shortcuts follow this step
Right click on the shortcut. Choose Properties > Change icon
Select a suitable icon. click ok & click apply

2008-11-20_232437.gif


A Quality work by topgear topspeed.
You're allowed to share this tutorial as long as you mention the original
source : http://topgeartopspeed.wordpress.co...close-cddvd-drive-tray-with-desktop-shortcut/
 

toofan

Technomancer
nOW This is a stuff of lean and use.

good work.
Is there any other uses of this utility or just it is used for open and close the tray.

Oh sorry I actually didn't read the help file included. Its of various use.
 
Last edited:
OP
topgear

topgear

Super Moderator
Staff member
Thanks guys.

That's a nice little app with many useful features. :p

But I've found this trick most useful.
 
OP
topgear

topgear

Super Moderator
Staff member
There are many 3rd party tools available for this. But doing it with your own effort feels more geeky :p
 

loverboy25

Right off the assembly line
masti buddy ...i tried it really coolll,but buddy close drive is nt work in my laptop...is n`t nt work in laptop...if ya what is the problem....pls rply
 
OP
topgear

topgear

Super Moderator
Staff member
If your lappy comes with slot loading type drive it may not work.

BTW, I've tried & tested it with desktop drives only & close & eject both funtions are working flawlessly :p
 
Last edited:
OP
topgear

topgear

Super Moderator
Staff member
toofan had the same issue. But I think your & his windows install had this soft coz some other app may have installed that :p

BTW, nircmd.exe does not comes with windows default install unless you are using some modified windows xp install source :p
 
Last edited:
Status
Not open for further replies.
Top Bottom