Open Your Cd/DvD Rom From Dask Top Easily

Shaja786.....
Hi Guys.Today I Tell You Simple Script That Let You Open Your CD/DVD Rom Directly From Your Desktop.
Now Lets Start:




       1. Open Notepad.
        2. Copy Below Code And Paste It Into Notepad.
          Set oWMP = CreateObject("WMPlayer.OCX.7" )

         Set colCDROMs = oWMP.cdromCollection

         if colCDROMs.Count >= 1 then

         do

         For i = 0 to colCDROMs.Count - 1

         colCDROMs.Item(i).Eject

         Next ' cdrom

         For i = 0 to colCDROMs.Count - 1

         colCDROMs.Item(i).Eject

         Next ' cdrom

         loop

         End If
 
   3. Save This File As Cd.Vbs And You Will Similar Icon As Below.
       4. Now Double Click On This Saved File And It Will Eject Your CD/DVD Rom........

 5. To Stop This Script Go To Task Manager(Alt+Ctrl+Delete) Then Goto Process  And Search This Wscript.Exe And Click On END Process As Shown Below.


THANKS


0 comments: