dvd burner drive

Status
Not open for further replies.

travis22

Baseband Member
Messages
24
under "My Computer" you can right click on any drive and click "eject" Once I do that, is there a way to close the drive using windows? I am accessing my computer remotely and I accidently ejected the cd in the drive.
Any ideas?
Thanks
 
MMSystem;

{ open the CD tray }
mciSendString('Set cdaudio door open wait', nil, 0, 0);

{ close the CD tray }
mciSendString('Set cdaudio door closed wait', nil, 0, 0);
 
I need your email address so I can send you this .bat file... It will be in a zip file to get through any firewall you may have...

You can edit the bat to make sure I'm not going to reformat your drive or something...
 
Brady. why dont you submit that to the mids to put in the DL section, its a simple util that a few people might want. This way they can get it without having to bug you each time :)
 
so this might reformat my hd?
idk how to edit it. thanks for your help
it is appreciated, but if i put that code ina notepad and name it a .bat file, how does that close the dvd tray?
 
lol, no it won't reformat your drive... (failed bad joke)


Putting the .bat extension on the file, will make it an executable code (using vbs) that when you double click the file, it automatically enters the context into the command prompt...

If this whole thing is a little too advanced for you, I would not recommend doing it.
 
Status
Not open for further replies.
Back
Top Bottom