The parameter for avastUI.exe to scan file using Avast 5

Hi,
I’m using “Metaproduct Download Express” to download files which has a function “Set AV scan” to scan if there is virus in it. I set it to “ashQuick %1” in Avast 4.8 is OK. Does anyone know how to set up in Avast 5? As I can find in regedit there is a parameter “AvastUI.exe /licfile” which is not working, thanks! :slight_smile:

forget about the lic file, that’s your license :wink: as to the parameters for ashquik, here they are:

quoted from Igor (avast dev):

Right now, the following command-line switches are (= will be) supported: /silent - don't display anything even if malware is found (the difference is only in the return code available to the program that launched ashQuick) /action:delete /action:chest /action:repair

Note that:

  • ashQuick always stops scanning when a first malware is found - that’s the one displayed in the final message. So, the fact that the final message shows some “less critical” malware ([PUP], [Susp]) doesn’t mean there isn’t any worse inside if the file is an archive.
  • the action (delete, chest) always works with the whole file, no matter if it’s an archive or not.
  • we’d really like to avoid turning this simple tool into another full-featured scanned, with the same options as the usual GUI-based scans

Thanks,
My purpose is to scan a file. “ashQuick.exe %1” is for Avast 4, how to do it in Avast 5 (eg, avastUI.exe /parameter)
I have tried “avastUI.exe %1” not working… Or it’s not avastUI.exe but the other file?

there’s also an asquick.exe now in avast 5

I ran ashQuick.exe to scan file under command line is no response… (eg, ashQuick.exe %1)

I was using ashQuick.exe %file% into Free Download Manager… I’ve thought the scanning was GUIless.
Now I think that NOTHING is being scanned.
I want to know the parameter for Free Download Manager to scan a downloaded file…

Not sure if this will help, but I successfully use ashquick to scan attachments in Pegasus Mail via the VirScan plugin for Pegasus. I use “C:\Program Files\Alwil Software\Avast5\ashQuick.exe” %F
This is exactly the same as I used in 4.8 and the only change I had to make was to point it at the new folder for Avast.

Yes, the “ashQuick.exe %1” works!
Yesterday I ran it along under command line seemed no response, today I downloaded a file from virus test website, ashQuick.exe popped up a warning message saying threat found… Now I realize it was silent after scannig a non-virus file. Thanks guys!