Create a Harmless Funny Virus with Notepad-Continuously eject CD/DVD drives

p50t_optical-100269148-large

If you think that Notepad is just a basic text editor, then, you will be amazed by it’s capabilities. You can use Notepad to create everything from personalized logs to harmless viruses that are incredibly annoying.

Steps to create a Harmless Funny Virus

This VBS trick will create a code which will continuously eject all your connected Optical drives. If you put them back in, it will pop them out again. Copy below code and paste it in Notepad as Virus.vbs or *.vbs.

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

Double click to open this file and make fun with your colleague and friends. I promise you will be impressed by this awesome trick.

Advertisements

One thought on “Create a Harmless Funny Virus with Notepad-Continuously eject CD/DVD drives

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s