Minggu, 20 November 2011

Open CD/DVD Rom From Desktop

22.31

   
              This is simple script that let you open your CD/DVD Rom directly from your desktop. Follow below steps to do this :

  • Open Notepad and copy below codes in to it.
         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
  •  Save the file as ejectcd.vbs and you will similar icon as below
  • Double click this saved file and it will eject you cd rom.
  • To stop this script go to Task manager > Process  and search for wscript.exe and click on END Process as shown in below image.


Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 komentar:

Posting Komentar

 

© 2013 Tips Publies. All rights resevered. Designed by Templateism

Back To Top