Avast WEBforum
Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: erwin on September 09, 2003, 09:57:59 PM
-
Hello to all,
very new to avast I tried to use the ashCmd.exe in a bat-file.
The helpfile says: Virus found errolevel = 1, novirus errorlevel = 0
but I always get 9002 as errorlevel or 42003, depends on different /p /s or whatsoever.
My bat file is like this:
First I call ashCmd.exe und second I write everthing in a logfile.
C:\Programme\Alwil Software\Avast4\ashCmd.exe c:\test.com
echo %date% - %time% %~nx1 %meldung% - Fehlercode: %errorlevel% >>c:\logfiles\virScan.log
Thanks for any help
Erwin