Author Topic: The parameter for avastUI.exe to scan file using Avast 5  (Read 9772 times)

0 Members and 1 Guest are viewing this topic.

jyang30

  • Guest
The parameter for avastUI.exe to scan file using Avast 5
« on: February 23, 2010, 03:09:49 PM »
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!  :)

Hermite15

  • Guest
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #1 on: February 23, 2010, 03:14:46 PM »
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!  :)

forget about the lic file, that's your license  ;) as to the parameters for ashquik, here they are:

quoted from Igor (avast dev):
Quote
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

jyang30

  • Guest
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #2 on: February 23, 2010, 03:23:04 PM »
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?

Hermite15

  • Guest
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #3 on: February 23, 2010, 03:29:58 PM »
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

jyang30

  • Guest
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #4 on: February 23, 2010, 04:10:06 PM »
I ran ashQuick.exe to scan file under command line is no response... (eg, ashQuick.exe %1)

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #5 on: February 24, 2010, 03:36:47 AM »
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...
The best things in life are free.

Offline davews

  • Jr. Member
  • **
  • Posts: 67
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #6 on: February 24, 2010, 09:03:08 AM »
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.

jyang30

  • Guest
Re: The parameter for avastUI.exe to scan file using Avast 5
« Reply #7 on: February 24, 2010, 02:22:29 PM »
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!