TUTORIAL: Add "INSERT" Option in CD Drive Context Menu !

Status
Not open for further replies.

Vishal Gupta

Microsoft MVP
Joined
Jul 28, 2005
Messages
5,126
1. Download the attached file (download it from source link, if you can't download it here), extract it and copy the DLL file to "%windir%\System32" folder.

2. Copy following code in notepad:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{02A07E80-EFA2-11D4-8306-A7EBD4C50C7C}]
@="CDEject Context Menu Shell Extension"

[HKEY_CLASSES_ROOT\CLSID\{02A07E80-EFA2-11D4-8306-A7EBD4C50C7C}\InprocServer32]
@="C:\\WINDOWS\\system32\\cdeject.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}]
@="{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}"
3. Save the file with any name but the extension must be .REG

4.
Now run the file, it'll ask your permission, accept it.

5.
Now you'll get an Insert option in the CD Drive context menu.

Source: Add Insert Option in CD/DVD Drive Context Menu
 
Last edited:

rakeshishere

HELP AND SUPPORT
Joined
Jun 9, 2006
Messages
1,597
Wohhhhhaaaa ultimate ..i was the one who requested it
will rep u for this..Plz i request the mods to make as the demo mod...He is really grt

Damn i am gettin this msg "You must spread some Reputation around before giving it to Vishal Gupta again.".Sorry dude..wil rep u nxt time

It workd 4 me very fine >>>>Bolo Vishal GUpta Ki JAyyyyyyy
__________
THis tut shud be added nst time in digit's mag..If they wont i feel DIGIT SUCKS
 
Last edited:

rakeshishere

HELP AND SUPPORT
Joined
Jun 9, 2006
Messages
1,597
watz da name of that utility u got it with the chip-cd..Jst wanna know it
 

rakeshishere

HELP AND SUPPORT
Joined
Jun 9, 2006
Messages
1,597
Jst hopd if there was a "THANKS" Button in this forum..I could have seen the number of it :)
 

rollcage

AMD user for 9 yrs!!
Joined
Jan 26, 2005
Messages
914
Vishal Gupta Ki Jayyyyyyy :D

he he .. i was also looking for it .. thanx man

@vishal .. just add the reg file too in the attachment
 

clmlbx

Technomancer
Joined
Aug 26, 2006
Messages
2,097
I Also Needed That But Now I Have Got It. But After Doing So Now I Have Two Eject Option In My Context Menu . 1 U Gave That Also Gives Me Insert Option But Other That I Was Having It But Only For Eject. So Now I Want Remove That My Previous Option . So Pls Help Me How To Do It. And Pls Help Me How To Change Or Edit Context Menu (right Click) Options .
 

Apollo

"Technologic"
Staff member
Joined
Apr 5, 2005
Messages
447
Fantabulous, Vishal! Another great tutorial! :D

<opens and closes his DVD drive at the click of a mouse button several times just for the heck of it> :D
 

aadipa

Padawan
Joined
Feb 12, 2004
Messages
990
Nice hack.

But does it work correctly when I have more than one trays open?
 

hemant_mathur

-- No Easter Eggs here --
Joined
Apr 14, 2006
Messages
938
Great work man ... damn cool.
Hey not able to rep you .. getting same error msg as Rakeshishere got.
 
OP
Vishal Gupta

Vishal Gupta

Microsoft MVP
Joined
Jul 28, 2005
Messages
5,126
hemant_mathur said:
Hey not able to rep you .. getting same error msg as Rakeshishere got.
:( neway the error doesnt matter, these words of urs really mean for me. Each letter of ur words is like a diamond for me :D

Though u can Rate the thread, if u like any thread! :)

thnx again all of u guys! :)
 

rollcage

AMD user for 9 yrs!!
Joined
Jan 26, 2005
Messages
914
@Vishal Cant we have eject/insert as combine(single) item in menu
 
OP
Vishal Gupta

Vishal Gupta

Microsoft MVP
Joined
Jul 28, 2005
Messages
5,126
Actually the work is being done by the DLL file itself.
If u want to change the working, then u'll hv to decompile the DLL file, change its coding and then recompile it again :)

PS: If u see more carefully, then when we hv some CD in the drive, the "Insert" option is automatically changed to "Eject".
 

rollcage

AMD user for 9 yrs!!
Joined
Jan 26, 2005
Messages
914
right now i am on ibm laptop .. and it has no use on it. :(
have to go by push method only
will try latter on desk
 

rakeshishere

HELP AND SUPPORT
Joined
Jun 9, 2006
Messages
1,597
:sad: neway the error doesnt matter, these words of urs really mean for me. Each letter of ur words is like a diamond for me :D

Though u can Rate the thread, if u like any thread! :smile:

thnx again all of u guys! :smile:

THnx 4 telling that..Me Knew ;)that but u reminded us:D
 

prasad_den

Padawan
Joined
Sep 26, 2005
Messages
917
@vishal - Its not working dude..!! :( :( :( I've followed all the steps, but still I see no change even after a system restart.. I've also tried the file that rakeshishere has attached.. Still no effect.. :( Any idea..?? I have a P4 2.4 GHz with intal 845 MoBo and WinXP SP2..
 
Status
Not open for further replies.
Top