Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / How to open a DVD drive with software

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 11:49
Does anyone know of any software that will allow me to open/close my DVD drive by clicking an icon on my desktop or setting up a hot key?

My base unit sits under my table by my legs and opening the DVD drive is too much of a problem but closing it is a real pain in the arse because I have to reach under the open drive bay and fumble around for the close button.

Thanks

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Apr 2004 12:14
The BASS DLL has a function to open and close the CD door. You could write a program that uses that.
Alternatively, use the MCI commands.


The place for all great plug-ins.
Keeping it Unreal since 2004
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 12:30
Forgive my ignorance but what are the MCI commands?

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 6th Apr 2004 12:56
Really nice and simple dos exe to open/close any/all cd drives. Works perfectly in XP.

http://www.codeguru.com/Cpp/W-P/system/cd-rom/article.php/c5775/

Boo!
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 6th Apr 2004 13:22
You can right-click on the DVD drive in 'my computer' and go to 'eject' ... but that might not be much of a shortcut

http://www.thegameszone.tk | robin@thegameszone.tk
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Apr 2004 13:30
Quote: "MCI commands"

They are multimedia commands.

Quote: "You can right-click on the DVD drive in 'my computer' and go to 'eject' ... but that might not be much of a shortcut
"

He wanted to do it programmatically.


The place for all great plug-ins.
Keeping it Unreal since 2004
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 16:17 Edited at: 6th Apr 2004 16:22
Quote: "You can right-click on the DVD drive in 'my computer' and go to 'eject' ... but that might not be much of a shortcut"

Only works for Eject - it is the close that I have most problems with.

Quote: "He wanted to do it programmatically."

Actually I don't I wouldn't know how to because when it comes to programming I only know DarkBASIC. What I need is a ready made freeware utility.

I have heard of a utility called 'Blue Face' which sounds like it is what I need. A quick Google Search finds plenty of download sites but non of the links work.

Any other ideas?

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 6th Apr 2004 17:28
And what was wrong with my post! It is a simple exe that you use in a batch file that will open drives, close drives, all drives or a specified drive.

Please don't ignore me or I'll haunt you for rest of my life!

Oh I forgot, I'm a ghost and don't have any life left as I'm dead (sort of).

Boo!
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Apr 2004 19:27
Obviously all night programming didn't agree with you then?!


The place for all great plug-ins.
Keeping it Unreal since 2004
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 6th Apr 2004 19:52
obviously...

Just to add to the confusion.
Look at my avatar
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 22:19
I tried the download you suggested spooky but it is more hassle than it is worth.

To use it I would have to open a command line and type `CDR close e:` or something(?)
Call me lazy if you like - it would certainly be justified in this case - but I just want an icon that I could click on to open or close my drive.

I am tempted to cut a couple of holes in the top of my PC case insert switches into them and splice the wiring into the DVD drives eject buttons, but that seems a little radical and I think if it is possible to put an icon on my desktop instead it would be a better option.

Thanks

Oraculaca
21
Years of Service
User Offline
Joined: 6th Jan 2003
Location: Scotland
Posted: 6th Apr 2004 22:25
you could stick it in a batch file on your desktop


In a permanent state of 'Under Construction'
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 22:35
You could maybe - I don't even know what a batch file is!

Sorry to sound useless but I only know the basics of BASIC. I don't know what batch files are or MCI commands.

I appreciate everybody's help but (and I hate to say it) I need a solution and not a method of programming a solution (unless it can be done in DBP - easily).

Thanks again.

Oraculaca
21
Years of Service
User Offline
Joined: 6th Jan 2003
Location: Scotland
Posted: 6th Apr 2004 22:46
ok kind of found a solution on google , you could use a VBscript,

create a new text document and copy paste the following.
now save it as OPEN.VBS



your meant to be able to just run the script again to close them again ,but mine only opened


In a permanent state of 'Under Construction'
Oraculaca
21
Years of Service
User Offline
Joined: 6th Jan 2003
Location: Scotland
Posted: 6th Apr 2004 22:51
As for Batch files...
If you open a text document again and type the line that you would normally type at the command line eg:

CDR close e:

then save it as CLOSE.BAT then when you double click it it will run that line.
make sure the path to the CDR program is correct ..
e.g
c:\windows\cdr close e:


In a permanent state of 'Under Construction'
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 23:13 Edited at: 6th Apr 2004 23:13
Don't cut your throat yet Mr. Dibbler - You are a star!!

With Spooky's download and your explanation of batch files I now have exactly what I want - An icon on my desktop to open and close my Drives - well four icons actually - one to open, one to close (two drives) and it certainly beats getting down on my knees and trying to find the switch beneath the drive.

Thank you

Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 6th Apr 2004 23:40
Or, you could use shortcut files. They would work.


Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2004 23:55
shortcut to what?



1001001 S.O.S.
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 7th Apr 2004 01:37 Edited at: 7th Apr 2004 01:38
make a .lnk file and point the shourtcut to



indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 7th Apr 2004 09:52
a long time ago there was a application.exe joke were it was this thing that said "here is your free drink coaster".

anyway it would open all the cdrom trays in your computer.

perhaps if you found that code snippet it would help.

btw any oldbies remember that?


fall down seven times, stand up eight
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Apr 2004 16:15
Quote: "Actually I don't "

In your subject you said you wanted it done from a program...


The place for all great plug-ins.
Keeping it Unreal since 2004
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 7th Apr 2004 18:32
True enough ... I just didn't want to do it myself. Or more specifically couldn't do it myself.

But now everything is working perfectly. Thanks for all your help.



1001001 S.O.S.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Apr 2004 19:06
right click and drag cdrom icon to desktop from MyComputer
right click icon
select Eject
done.


Home of the VB.NET Class Builder Utility - Demo and FULL versions now available!!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 7th Apr 2004 20:47
That doesn't solve the problem of closing it Mr. Rustler.



1001001 S.O.S.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Apr 2004 21:25
oh, closing it too.
use foot?
lol


Home of the VB.NET Class Builder Utility - Demo and FULL versions now available!!

Login to post a reply

Server time is: 2024-11-25 01:53:46
Your offset time is: 2024-11-25 01:53:46