Creating Virus sometimes sound tough as well as harmful. But sometimes it is neither of them. Instead it is funny and harmless.
You can make your friends fool by using this notepad trick. In this trick, we will create a virus which will continuously eject CD/DVD Drive of your laptop and computer.
Here are the Steps -
- Open Notepad and create a new .txt file.
- Copy and paste the code given below -
Set oWMP = 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
- Save this file as virus.bat and Double click to open this file and I am damn sure that you will be impressed by this funny trick.
Also Read - Make Keyboard to Type Automatically
Stopping the Virus
If you have just run a virus, so you need to stop it otherwise it will continuously eject your CD/DVD drive.
- Open task manager or simply use ctrl+alt+del.
- Click on processes
- Select wscript.exe
- Click on end process.