You are here
Home > Home > How To Make Antivirus Using Notepad

How To Make Antivirus Using Notepad

 

How To Make Antivirus Using Notepad
TrickedPC

Notepad is one of the best Text Editor and it is most commonly used to create Batch Programs. In this tutorial, We are gonna learn How To Make Antivirus Using Notepad . Creating an Antivirus is pretty easy in Notepad. All you need to do is follow the following steps and what you will get is fully working Antivirus ……

ALSO READ :- HOW TO CREATE BACKUP PROGRAM USING NOTEPAD

How To Make Antivirus Using Notepad :-

  • Open Notepad .
  • Now, simply type the following code in Notepad :-

@echo off

color cb

title Antivirus

cls

echo ===============

echo [ Batch-Scanner]

echo ===============

echo If There is no message ,You are protected.

set /p a=Enter a batch file to scan:

for /f %%x in (

‘findstr /i /m “virus r.i.p byebye ” %a%.bat’

) do (

if /i %%x equ %a%.bat (

for /f %%z in (

‘findstr /i /b /m “tskill del copy shutdown ipconfig ren reg” %a%.bat’

) do (

if /i %%z equ %a%.bat (

cls

echo Virus Detected!!

del %a%.bat

echo %a%.bat was deleted….

pause >nul

)

)

)

)

pause >nul

  • Next, Save this file as antivirus.bat .
  • All set and Done!! All you need to do is just run the antivirus.bat file and enter the path of batch file to be scanned .

Please Note that this Antivirus should just be used for Batch files only. So, for full fledged security of your system , do install a proper antivirus .

Have anything to add, say it in comments………

Parth Kaushik
A Computer Science Student and Admin Of This Blog , Computer Enthusiast and a Coding Lover. On this blog, he is sharing some tech stuff and whatever interesting he is doing with computers and Internet. Read more: http://trickedpc.com/aboutus/
http://trickedpc.com

Leave a Reply

Top