Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: eject cd-rom  (Read 5708 times)

0 Members and 1 Guest are viewing this topic.

nilsso

  • Guest
eject cd-rom
« 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

GX1_Man

  • Guest
Re: eject cd-rom
« Reply #1 on: July 13, 2006, 06:31:27 PM »
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).

tekman22003

  • Guest
Re: eject cd-rom
« Reply #2 on: July 13, 2006, 07:32:39 PM »
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.

GX1_Man

  • Guest
Re: eject cd-rom
« Reply #3 on: July 13, 2006, 07:52:06 PM »
I think he was asking about a software command (for whatever reason), rather tthan a sharp object.  ;)

tekman22003

  • Guest
Re: eject cd-rom
« Reply #4 on: July 13, 2006, 08:27:19 PM »
Thanks for the correction!   ;D

nilsso

  • Guest
Re: eject cd-rom
« Reply #5 on: July 14, 2006, 06:34:41 AM »
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...?

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: eject cd-rom
« Reply #6 on: July 14, 2006, 07:35:57 AM »
You don't use Python.  You use Windows scripting.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: eject cd-rom
« Reply #7 on: July 14, 2006, 01:23:11 PM »
Quote
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.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dl65

  • R.I.P.


  • Prodigy

    Thanked: 18
    Re: eject cd-rom
    « Reply #8 on: July 14, 2006, 01:43:41 PM »
    nilsso..........
    Quote
    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  ::)
    « Last Edit: July 14, 2006, 01:45:42 PM by dl65 »
    If you don't know the answer, it isn't a dumb question.

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: eject cd-rom
    « Reply #9 on: July 14, 2006, 02:01:55 PM »
    This may help you out (WSH solution):

    Code: [Select]
    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.

    « Last Edit: July 14, 2006, 02:08:57 PM by Sidewinder »
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    GX1_Man

    • Guest
    Re: eject cd-rom
    « Reply #10 on: July 14, 2006, 02:59:40 PM »
    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.  ;)

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: eject cd-rom
    « Reply #11 on: July 14, 2006, 03:19:30 PM »
    Nilsso,

    Just a tip , you REALLY don't want to piss GX1_Man off ..........  

     >:(
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    nilsso

    • Guest
    Re: eject cd-rom
    « Reply #12 on: July 14, 2006, 06:04:10 PM »
    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... :(

    dl65

    • R.I.P.


    • Prodigy

      Thanked: 18
      Re: eject cd-rom
      « Reply #13 on: July 14, 2006, 06:06:51 PM »
      nilsso......   Remember the old saying .........  "Please engage brain , before activating fingers "

      dl65  ::)
      If you don't know the answer, it isn't a dumb question.

      nilsso

      • Guest
      Re: eject cd-rom
      « Reply #14 on: July 14, 2006, 06:15:44 PM »
      hehehe... never heard that one before, will keep it in mind in all forums from now on:)