my antivirus batch file seems to not run correctly...help!

July 20, 2015 at 10:05:51
Specs: Windows 8.1, 8.00GB
i want it to pause or say if your clear of a virus... because if you dont have a virus... it doesn't work... i still need it to at least say "no viruses detected" thanks! just copy and paste this to notepad and save as AI.bat and run the file... you might understand my question much more... thanks soo much!

@echo off
cls
echo Antivirus is still in beta!!!
echo Created by Henry
set /P c= are you sure want to scan your PC [y/n]?
if /I "%c%" EQU "y/" goto :start00
if /I "%c%" EQU "n/" goto :ex2
goto start00
:start00

IF EXIST pathoengs.bat goto infected2
IF EXIST pathoengs.exe goto infected2
IF EXIST pathoengs goto infected2
IF EXIST trojan.bat goto infected2
IF EXIST trojan.exe goto infected2
IF EXIST trojan goto infected2
IF EXIST virus.bat goto infected2
IF EXIST virus.exe goto infected2
IF EXIST virus goto infected2
IF EXIST hack.bat goto infected2
IF EXIST hack.exe goto infected2
IF EXIST hack goto infected2
IF EXIST spyware.bat goto infected2
IF EXIST spyware.exe goto infected2
IF EXIST spyware goto infected2
IF EXIST wormvirus.bat goto infected2
IF EXIST wormvirus.exe goto infected2
IF EXIST wormvirus goto infected2
IF EXIST !readme.exe goto infected2
IF EXIST !update.exe goto infected2
IF EXIST hsr.dll goto infected2
IF EXIST sain.exe goto infected2
IF EXIST sau.dll goto infected2
IF EXIST sauhook.dll goto infected2
IF EXIST getst.exe goto infected2
IF EXIST main.exe goto infected2
IF EXIST plugin.dll goto infected2
IF EXIST 5whgue21.exe goto infected2
IF EXIST ACMConfig.exe goto infected2
IF EXIST ACMDLL.dll goto infected2
IF EXIST ACMService.exe goto infected2
IF EXIST zsHook.dll goto infected2
IF EXIST actik.exe goto infected2
IF EXIST akeylogger.exe goto infected2
IF EXIST activitykeyloggerhidden.dll goto infected2
IF EXIST alaware.dll goto infected2
IF EXIST alogcfg.exe goto infected2
IF EXIST alogger.exe goto infected2
IF EXIST alsys.exe goto infected2
IF EXIST Stuxnet.exe goto infected2
IF EXIST Conficker.exe goto infected2
IF EXIST agent.btz goto infected2
IF EXIST Zeus.exe goto infected2
IF EXIST PoisonIvy.exe goto infected2
IF EXIST Trojan.Flame.A goto infected2
IF EXIST Trojan.Ransom.IcePol goto infected2
IF EXIST Exploit.CVE-2011-3402.Gen goto infected2
IF EXIST Backdoor.IRCBot.Dorkbot.A goto infected2
IF EXIST Backdoor.Lavandos.A goto infected2
IF EXIST Trojan.Android.Geinimi.A goto infected2
IF EXIST Java.Trojan.Downloader.OpenConnection.AI goto infected2
IF EXIST Java.Backdoor.ReverseBackdoor.A goto infected2
IF EXIST Win32.Ramnit.G goto infected2
IF EXIST Trojan.Spy.Ursnif.F goto infected2
IF EXIST Win32.Worm.Stuxnet.A goto infected2
IF NOT EXIST pathoengs.bat goto statistics
IF NOT EXIST pathoengs.exe goto statistics
IF NOT EXIST pathoengs goto statistics
IF NOT EXIST trojan.bat goto statistics
IF NOT EXIST trojan.exe goto statistics
IF NOT EXIST trojan goto statistics
IF NOT EXIST virus.bat goto statistics
IF NOT EXIST virus.exe goto statistics
IF NOT EXIST virus goto statistics
IF NOT EXIST hack.bat goto statistics
IF NOT EXIST hack.exe goto statistics
IF NOT EXIST hack goto statistics
IF NOT EXIST spyware.bat goto statistics
IF NOT EXIST spywars.exe goto statistics
IF NOT EXIST spyware goto statistics
IF NOT EXIST wormvirus.bat goto statistics
IF NOT EXIST wormvirus.exe goto statistics
IF NOT EXIST wormvirus goto statistics
IF NOT EXIST !readme.exe goto statistics
IF NOT EXIST !update.exe goto statistics
IF NOT EXIST hsr.dll goto statistics
IF NOT EXIST sain.exe goto statistics
IF NOT EXIST sau.dll goto statistics
IF NOT EXIST sauhook.dll goto statistics
IF NOT EXIST getst.exe goto statistics
IF NOT EXIST main.exe goto statistics
IF NOT EXIST plugin.dll goto statistics
IF NOT EXIST 5whgue21.exe goto statistics
IF NOT EXIST ACMConfig.exe goto statistics
IF NOT EXIST ACMDLL.dll goto statistics
IF NOT EXIST ACMService.exe goto statistics
IF NOT EXIST zsHook.dll goto statistics
IF NOT EXIST actik.exe goto statistics
IF NOT EXIST akeylogger.exe goto statistics
IF NOT EXIST activitykeyloggerhidden.dll goto statistics
IF NOT EXIST alaware.dll goto statistics
IF NOT EXIST alogcfg.exe goto statistics
IF NOT EXIST alogger.exe goto statistics
IF NOT EXIST alsys.exe goto statistics
IF NOT EXIST Stuxnet.exe goto statistics
IF NOT EXIST Conficker.exe goto statistics
IF NOT EXIST agent.btz goto statistics
IF NOT EXIST Zeus.exe goto statistics
IF NOT EXIST PoisonIvy.exe goto statistics
IF EXIST Trojan.Flame.A goto statistics
IF EXIST Trojan.Ransom.IcePol goto statistics
IF EXIST Exploit.CVE-2011-3402.Gen goto statistics
IF EXIST Backdoor.IRCBot.Dorkbot.A goto statistics
IF EXIST Backdoor.Lavandos.A goto statistics
IF EXIST Trojan.Android.Geinimi.A goto statistics
IF EXIST Java.Trojan.Downloader.OpenConnection.AI goto statistics
IF EXIST Java.Backdoor.ReverseBackdoor.A goto statistics
IF EXIST Win32.Ramnit.G goto statistics
IF EXIST Trojan.Spy.Ursnif.F goto statistics
IF EXIST Win32.Worm.Stuxnet.A goto statistics
cd C:\Windows\system32

:infected2
cls
echo A Virus has been detected
set /p n=Delete?(y/n)
If %n% == y del pathoengs.bat del pathoengs.exe del pathoengs del virus.bat del trojan.bat del trojan.exe del trojan del virus.exe del virus del hack.bat del hack.exe del hack del spyware.bat del spyware.exe del spyware del wormvirus.bat del wormvirus.exe del wormvirus del !readme.exe del !update.exe del hsr.dll del sain.exe del sau.dll del sauhook.dll del getst.exe del main.exe del plugin.dll del 5whgue21.exe del ACMConfig.exe del ACMDLL.dll del ACMService.exe del zsHook.dll del actik.exe del akeylogger.exe del activitykeyloggerhidden.dll del alaware.dll del alogcfg.exe del alogger.exe del alsys.exe del Stuxnet.exe del Conficker.exe del agent.btz del Zeus.exe del PoisonIvy.exe del Trojan.Flame.A del Trojan.Ransom.IcePol del Exploit.CVE-2011-3402.Gen del Backdoor.IRCBot.Dorkbot.A del Backdoor.Lavandos.A del Trojan.Android.Geinimi.A del Java.Trojan.Downloader.OpenConnection.AI del Java.Backdoor.ReverseBackdoor.A del Win32.Ramnit.G del Trojan.Spy.Ursnif.F del Win32.Worm.Stuxnet.A goto poywo
If %n% == n goto exit0
:ex2
echo okay!
echo but if i were you... i would scan just to make sure...
pause >nul
exit /B 0

:poywo
echo bye!
exit /B 0

:exit0
echo okay!
echo if this computer gets infected!
echo its your fault!
pause >nul
exit/B 0


See More: my antivirus batch file seems to not run correctly...help!

Report •


#1
July 24, 2015 at 16:06:54
First thought if you want to see the fail remove the echo off. See what fails.


::mike

message edited by mikelinus


Report •
Related Solutions


Ask Question