If you liked the post, Share on Facebook, Tweet and Google Plus (use buttons above). You can also Subscribe to our feed via Email for free.
Home » Windows » Continually pop out CD Drive using VBScript
Continually pop out CD Drive using VBScript
Posted by
Kavan Pancholi
on 30 December 2010
Hey Friends, Lets do some fun. We are going to continuously pop out CD Drive. We can do this by using VB Script.
To make your CD drive continually pop out, perform the following steps:
- Open Notepad
- Copy following script in notepad.
- Save it as "Anything.VBS" and double click on it to open it.
- Enjoy
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
To stop this script press CTRL+ALT+DELETE & open Task Manager. Then in Processes Tag Select "wscript.exe" & Click on End Process.
Note: This is not a virus but your antivirus may detect it as virus. In this case just allow this script to run instead of deleting the VB Script file.
0 comments:
Post a Comment