A CODE THAT WILL OPEN ND CLOSE UR CD ROM DRIVE
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
copy this into notepad and save it as anyname.vbs like cdrom.vbs
and then double click on it...what u see....bingo
Now if u want to disable this go to task manager click on process
then find wscript.exe and end this process 
Subscribe to:
Post Comments (Atom)
 




1 comment:
THIS COMMAND NOT WORKED
SO PLEASE CHECK IT AND THEN REPOST IT
Post a Comment