The main functioning of Antivirus is to detect and remove harmful or unwanted files which may slowdown your computer and windows. But if you don't have enough time to download any best antivirus. Then simply use this trick to make your own antivirus.
@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:\Windows\system32
:infected
echo warning virus detected
del virus.bat
pause
goto start
:clean
echo System secure!
pause
exit
This antivirus scan by using command prompt and delete unwanted files automatically.
- Open your Notepad and paste this given code
@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:\Windows\system32
:infected
echo warning virus detected
del virus.bat
pause
goto start
:clean
echo System secure!
pause
exit
- now save your file with a2zbloggertips.bat and select "All files"
- now run your saved files automatically scan starts
Post a Comment