Saturday, October 10, 2015

How To Make Antivirus 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 .

0 comments:

Post a Comment