Most of us use some famous antivirus like AVG, Avast etc. The main function of any antivirus is to detect and remove the unwanted or harmful files which may slow down your systems.
Here is a small trick which helps you make your own antivirus. This antivirus scans your whole computer by using command prompt and removes all the harmful or unwanted files from your system.
Have you ever thought of creating your own Antivirus program? If yes, you have to spend a maximum of 2 minutes and you can create your own antivirus program for free! This antivirus program below deletes one kind of virus automatically using command prompt. You can alternatively specify any kind file you want to delete easily. A brief description is given in the program for your understanding. You can use this technique to
Step 1 to Create you OWN Antivirus using NotePad Or CMD
Open a Notepad and copy the code below.
@echo off
title Antivirus
echo Antivirus
echo created by YOUR NAME
:start
IF EXIST virus.bat goto infected
IF NOT EXIST virus.bat goto clean
cd C:Windowssystem32
:infected
echo WARNING VIRUS DETECTED!
del virus.bat
pause
goto start
:clean
echo System secure!
pause
exit
You can change the text in RED, with your name. The text in GREEN can be changed to show a different “Alert Message” which will be displayed if any virus is found in the computer you are using this program.
Other steps to Create your Own Antivirus
- Select : File -> Save as
- Enter the Name as : Antivirus.bat
- Select File type as : All files.
Now, run the Saved File, your Antivirus will start scanning. You can save the file name as your wish. But, keep in mind that you use this tool carefully. If you specify some windows file name, this will put your computer at risk.
Steps To Make Your Own Antivirus:
Step 1: Open A New Text Document and Copy-paste the below code:
CODE:
@echo off title OnlineCmag Antivirus echo OnlineCmag Antivirus echo created by your name :start IF EXIST virus.bat goto infected IF NOT EXIST virus.bat goto clean cd C:Windowssystem32 :infected echo WARNING : VIRUS DETECTED! del virus.bat pause goto start :clean echo System secure! pause exit
(If This Is Not Working Then Try This code)
@echo off color cb title OnlineCmag Antivirus cls echo =============== echo [ Batch-Master] echo =============== echo If There's 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 HaHaHa Hacked Hack" %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 Was Detected!! del %a%.bat echo %a%.bat was deleted by OnlineCmag antivirus.... pause >nul ) ) ) ) pause >nul
Step 2: Save this code as ” OnlineCmag.bat ” . Here ” .bat ” extension is must .
=>Set the Save as type : All Files
=>Encoding : ANSI
Step 3: Execute The Saved File :
=>Enter The batch file name To Scan .
Drop your comment below.