How to Create Antivirus Software in Notepad

How to Create Antivirus Software in Notepad

Let’s do something creative, How to Create Antivirus Software in Notepad. Follow steps on this simple tutorial and you can Create an Antivirus for yourself. I know what you’re thinking.

Are you thinking something like, How can I create an Antivirus?

Trust me this is possible with some copy-paste, you don’t need to create any single piece of code.

Some people have a mentality like Easy things, never work. So, I am personally telling you, this is the easiest way to create Antivirus for your Windows PC/Laptop.

Note: This Antivirus will only work on Windows Platform and for other platforms, this is just a waste file.

So let’s get started..!!!

Similar Posts:

How to Create Antivirus Software in Notepad

Open start menu on your PC or desktop, then open search and type cmd then command prompt will open.

Now just copy that program which is written below paste into your command prompt(cmd) and hit enter then program will run automatically and remove all viruses from your PC/desktop.

@echo off

title Antivirus

echo Antivirus

echo created by your name


IF EXIST virus.bat goto infected

IF NOT EXIST virus.bat goto clean

cd C:Windowssystem32



del virus.bat


goto start


echo System secure!



Important Tip: You can also remove the virus manually from your system also it’s very important to know.

This is a code work for remove Virus.bat file but you definitely not always getting a virus in your system by name virus.bat.

If you know whose virus is affecting your system so you can remove it manually by using this code.

For Example, Mypicutre.scr is a very dangerous virus, very difficult to remove it virus damages the system file very fastly and my Mcafee Antivirus wasn’t able to detect this virus.

So, I was using this above code by just some changes from Virus.bat to Mypicutre.scr.

Make Some changes, Virus.bat is written in the green text so you can easily find out what to edit.

Remove virus.bat and the virus file name affecting your system and run it. (Make sure, virus name & virus extension is correct)

Hope you got it, Now you can easily remove any kind of virus by using this code.

Another Method: Try it…!!!

1.     First, you will need to start CMD by typing cmd in your search bar or if u want to do it the quicker way press Windows key+r and type cmd and hit enter

2.    Now type dir c: where ‘c’  can be any drive on your computer

3.    After this type  s – h *. * /s /d after the code your whole code should look like this dir c: s – h *. * /s /d

4.    Now a whole lot of scanning will take place. Don’t get frightened if the process takes some time. It will stop after some time.

5.    Now look for infected files you see anything suspicious for example: Autorun.inf or a .exe file

6.    If you see the .exe and the autorun.inf then you have just found an infected file.

7.    Now copy the Adress of the infected file and paste it your normal address bar and you will get your virus file and you can delete it

8.    Or else if this method looks a bit complicated just wait for 2 days I’ll be creating a free cmd program that automatically deletes your viruses but this method works well.

Show off your friends that you can create an antivirus…!!!


Having any issue feel free to write in comments.

Leave a Reply

Your email address will not be published. Required fields are marked *