Force CD Drive to Open Continually by using Notepad

Force CD Drive to Open Continually by using Notepad

Force CD Drive to Open Continually by using Notepad. Do you want to irritate your friends? You can do this by creating a simple virus by using notepad. It is just a prank to irritate your friends. Just suppose what happens when your friend click on some icon and CD drive will popup automatically. These instructions are just an annoying program, that open and close CD drive automatically.

You can do this by some simple steps:

Force CD Drive to Open Continually by using Notepad

  • Open your notepad and paste these codes.

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
End If
wscript.sleep 5000
loop

  • Then save this file as cd.vbs. You can use any name instead of ‘cd’ and save with extension .vbs
  • When you double click on that program then CD Drive will open automatically.

Related posts

Leave a Comment