TGS Forum
Hello Guest,

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features.

By joining this community for FREE, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, & many other special features.

Registration is fast, simple & absolutely free, so please, join our community today!


 
PortalHomeFAQRegisterLog in

Share | 
 

 [PRANK] Eject Your CD-DVD Drives Infinitely

Go down 
AuthorMessage
Malay Akechan
Administrator
Administrator
avatar

Points : 676
Posts : 244
Join date : 2011-04-04
Location : Muzaffarpur, New Delhi
OS Used : Windows 7 & XP
Mobile : Nokia 5233, Samsung Galaxy Tab
Browser : Google Chrome Plus

PostSubject: [PRANK] Eject Your CD-DVD Drives Infinitely   Thu Apr 21, 2011 6:05 pm

This tutorial explains how to make vb script that eject your CD-DVD drives …. infinitely. lol!

1) Run Notepad

2) Copy and Paste VB script code into notepad.

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


[You must be registered and logged in to see this image.]

3) Save as name_what_ever_you_want .vbs , for example ejectCD.vbs

[You must be registered and logged in to see this image.]

4) Double Click the saved file ! (ejectCD.vbs) [You must be registered and logged in to see this image.]

NOTE - To stop script open Task Manager and in processes search for wscript.exe and click End Process

[You must be registered and logged in to see this image.]

Go ahead spread the madness !!! lol! bounce
Back to top Go down
http://www.tgsforum.in
 
[PRANK] Eject Your CD-DVD Drives Infinitely
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TGS Forum :: Tips & Tricks :: PC Tips & Tricks-
Jump to:  
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forum