Steps to Create Simple Antivirus With Notepad
1. Type the following code into Notepad
@ echo off
echo off turn off the active virus
taskkill / F / IM virusname1.exe / IM virusname2.exe
echo Deleting all of viruses based on size
for / RC: %% a in (*. exe) do if%% ~ za 157,184 equ del / A: HSRA “%% a”
echo deleting hidden virus
echo for drive c and subfolders
for / R C: %% a in (*. doc.exe) do del “%% a”
echo for drive d and subfolders
for / R D: %% a in (*. doc.exe) do del “%% a”
echo Unhide Document
cd / d c:
echo for drive C and subfolders
*. doc attrib-H-S-A / S
cd / d d:
echo for drive D and subfolders
*. doc attrib-H-S-A / S
exit
2. Save the file with bat extension, For example antivirus.bat. then go to the command prompt and run the Notepad file.
This is just a simple antivirus, if you are really serious about computer security and want to protect computers from virus attacks then we recommend you to invest in a good antivirus. The number of antivirus available over the internet and the one I use in my computer is Quick Heal total security.
Leave a Reply