Computer Hope
Hardware => Hardware => Topic started by: nilsso on July 13, 2006, 06:13:18 PM
-
how do i eject my cd-rom from ms-dos? what is the command? anyone :)? if its possible
-
You can use a visual basic script. Do you have real DOS, or are you referring to some version of Windows command prompt (not the same).
-
Some times there is a small hole that you can use a piece of wire to release the cd from the drive. It just depends on how new or how old the rom drive is. You should see the small hole drive the drive door.
-
I think he was asking about a software command (for whatever reason), rather tthan a sharp object. ;)
-
Thanks for the correction! ;D
-
lol :P so how do i use python to program a cd-rom opener and then i get it to open in a normal windows computer, which do not have any of this programs...?
-
You don't use Python. You use Windows scripting.
-
how do u know? plz... i hate comments like urs, go bother some1 els, ur comment doesnt belong here
If you ask your question in the programming forum, one of the guys that does WSH scripting may be able to offer a solution. My response is for your clarification. Python is a scripting language. You cannot run Python scripts unless you have the Python parsing engine installed - that's very uncommon on Windows platforms. Therefore you would need to script in a language already available to the end user - wasn't that the point of your question?
Sheesh - if you ask a direct question it's a bit much to complain when you get a direct answer.
-
nilsso..........
You don't use Python. You use Windows scripting.
Based on your question, Robs reply was completely correct and to the point.
Oh yes and by the way ........ go bother some1 els, ur comment doesnt belong here that response was totaly uncalled for .
Beware the disembodied head.
Just a tip , you don't want to piss Rob off ..........
dl65 ::)
-
This may help you out (WSH solution):
Set WMP = CreateObject("WMPlayer.ocx")
Set colCDROMS = WMP.CDROMCollection
If colCDROMS.Count > -1 Then
For i = 0 to colCDROMS.Count - 1
colCDROMS.Item(i).Eject
Next
End If
After saving script with a vbs extension, run from the command line as cscript scriptname.vbs.
Note: if WMPlayer.ocx doesn't work try using WMPlayer.ocx.7
If you have NERO, there are some commands that may be useful. Check your documentation.
Good luck. 8-)
If you need a Python solution, consider reposting this in the DOS or Programming Section.
-
nilsso,
I concur with the above. A new poster acting rudely gets very little help in a volunteer forum. You should consider changing your tactics and manners OR your forum. This is not paid support, we are not your employees, and we don't tolerate that. ;)
-
Nilsso,
Just a tip , you REALLY don't want to piss GX1_Man off ..........
>:(
-
alright guys.. i am sorry for that comment, i just sometimes write with no brain if u know what i mean :P sorry.. not gonna happen again... :(
-
nilsso...... Remember the old saying ......... "Please engage brain , before activating fingers "
dl65 ::)
-
hehehe... never heard that one before, will keep it in mind in all forums from now on:)
-
HuH ? ? ?