Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Arkhan on July 22, 2013, 09:14:53 PM

Title: AshQuick.exe /silent => How do I know a file has been detected as a malware ?
Post by: Arkhan on July 22, 2013, 09:14:53 PM
Hi there,

I'm trying to automate the scanning of some files, so I thought about using the CLI since it's far easier to automate using some basic shell scripts. I thought using Ashquick.exe with the /silent parameter would be a good idea, since it does exactly what I want... However, I didn't find any way to distinguish when there is a detection or not. I thought about using the %errorlevel% but it seems that the error code is always the same (9009), detection or not.

Then, how can I distinguish when there's detection ?

Thanks everyone ! :)