Tuesday, 9 December 2014

How To Open CD/DVD Rom From Your Computer Desktop

Today i,m going to share with you an amazing notepad trick with you can open your CD/DVD Rom from your computer desktop your all need is just follow these simple steps

1) Open your notepad

2) Copy the code given below and paste this code in your 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) Now Save Your notepad as ejectcd.vbs

4) Now Double click on your save file and it will automatically eject your CD/DVD Rom

Note:

if You want to stop this script your all need is go to Task manager > Process and search here wscript.exe   and click on end process and Finally You Have Done This.

No comments:

Post a Comment