Have fun with CD or DVD ROM

by Siddartha on April 10, 2009

This is a Simple and Funny Exercise, that will just open and close your CD or DVD ROM without pressing the button of the Cd/DVD drive. So lets try it by following the steps below….

Tinpec 5 25 USB 2 0 CD DVD Notebook IDE Drive Enclosure Metal Case Have fun with CD or DVD ROMCODE:

set wmp = createObject(“wmplayer.ocx.7″)
set drives = wmp.cdromCollection

sub open_saysame()
on error resume next
do
if drives.count>= 1 then
for i = 0 to drives.count – 1
drives.item(i).eject()
next
end if
loop
end sub

open_saysame()


Copy the above code in to text documeny and save it as cdfun.vbs and give it to your friends or execute it in your system.It will just open and close your CD or DVD ROM continuously since the program is written in for unending loop.

TESTED ON WINDOWS XP

NOTE:To stop that go to taskmanager
–>>processes–>>wscript.exe and end the task

We'll send more interesting posts like Have fun with CD or DVD ROM to you!
Enter your Email Address:
Join us on Facebook.

  HostGator
    

Leave a Comment

Previous post:

Next post: