Open CD Drive with a Simple Command?

Solved
maxtore -  
 mimipalo -
Hello everyone! I just want to know the command that allows you to open a CD drive... a really nice command!! Or maybe a batch file or a vbscript file, or simply a MS-DOS command... or at worst, if no one has an answer... I had this crazy thing where I could double-click it to open my drive! If you have a program of the day, let me know... I will take the command that will be in the program from another good program that decompiles... otherwise, please! Help me with this little request I’m asking for! Thanks in advance.

14 answers

  1. dj gab
     
    Here is a VBScript code:

    Set oWMP = CreateObject("WMPlayer.OCX.7")
    Set colCDROMs = oWMP.cdromCollection
    if colCDROMs.Count >= 1 then
    For i = 0 to colCDROMs.Count - 1
    colCDROMs.Item(i).Eject
    Next ' cdrom
    End If

    Copy it into Notepad and save it as .vbs

    Open the file and normally your drive should open

    See you!
    5