Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: ProK on November 02, 2004, 10:32:26 PM

Title: arguement path for ashquick.exe
Post by: ProK on November 02, 2004, 10:32:26 PM
hello

i've got a few programs that can run an antivirus program after a file download.

i'm sure the program I should be using is ashquick.exe, but what is the correct arguement for it?

i've tried  " ~programfiles~/ashquick.exe  /S /clean  "  but it doesn't work.

Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 02, 2004, 10:33:28 PM
Generally, no argument is needed for download managers...
Wellcome to avast! forums  ;)
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 02, 2004, 10:57:58 PM
hello

and thanks for the welcome.


what i'm trying to do is this.

instead of having to right click and scan every file i download, i have a new download program that will let me use a automated scan of files that have been downloaded, now i have these two fields:

1:  Anti-Virus location:

2: Arquements:

so this is what I have filled

1:  Anti-Virus location:
C:\Program Files\Alwil Software\Avast4\ashQuick.exe

2: Arquements:
 /S /clean

Ashquick does run after a download but doesn't scan the file, thus I have to right click the file and select "scan with avast" function, then avast will run and scan the file.

I'm sure it's something in the arguements but i can't figure this out.

thanks for the input!
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 02, 2004, 11:03:12 PM
Which download manager do you use?
The most of them does not use any argument.
If you want to try, I suggest:
%d or %f  ;)
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 03, 2004, 12:26:31 AM
i recieved an error with those arguements
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 03, 2004, 12:27:52 AM
here is the program.

this is an add on program for Mozilla Firefox.  Same configuration is available for DAP/Getright
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 03, 2004, 12:28:48 AM
thanks for your help  :)
Title: Re:arguement path for ashquick.exe
Post by: DavidR on November 03, 2004, 01:12:26 AM
Try it without any arguement, or check getright and see what arguement it requires.

Technical gave you an either or option, you put both arguements in your example pic.

I use star downloader with firefox, it's excellent and it doesn't require any arguement/parameter
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 03, 2004, 01:12:52 AM
Yeah, I noticed that into FlashGet too...
It seems that the file is 'temporary' and when the command is sent to the scanner it does not exist anymore... It's strange (bug?)  ::)
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 03, 2004, 01:16:14 AM
I have tried one or the other and then finally both.

If i try it without the arguements, ashquick will run but would scan 0 files.

Title: Re:arguement path for ashquick.exe
Post by: DavidR on November 03, 2004, 01:31:19 AM
You could also try %1 if that doesn't work you are going to have to go to the help file for the downloader or homesite of the extension/program and check it out.
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 03, 2004, 01:41:24 AM
You could also try %1 if that doesn't work you are going to have to go to the help file for the downloader or homesite of the extension/program and check it out.

I think problem is on ashQuick.exe. I mean, the program is the one which requires the argument and not the download manager  ::)  ???
Title: Re:arguement path for ashquick.exe
Post by: ProK on November 03, 2004, 06:46:22 AM
Yes. It's the same thing for any downloader program.  It will require arguements.

I'm sure ashquick.exe is the program to call to, but not sure how to make it recognize the file being downloaded.

Tech is right, seems that when we download a file it comes into Windows temp/cache > and then moves to the destination.

Now, are there arguements that puts pauses or delay ashquick.exe ?
Title: Re:arguement path for ashquick.exe
Post by: igor on November 03, 2004, 10:05:02 AM
ashQuick doesn't have any "switch-type" arguments. Its only arguments are the areas (e.g. filename(s)) that should be scanned.
However, making an application to pass the filename to ashQuick.exe - that's another question. Some programs may do it automatically (i.e. there's no need to use any "markers"), some programs may mark the filename as "%d", other programs by something completely different... it's necessary to check the help for the particular application.
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 03, 2004, 11:54:50 AM
ashQuick doesn't have any "switch-type" arguments. Its only arguments are the areas (e.g. filename(s)) that should be scanned.
However, making an application to pass the filename to ashQuick.exe - that's another question. Some programs may do it automatically (i.e. there's no need to use any "markers"), some programs may mark the filename as "%d", other programs by something completely different... it's necessary to check the help for the particular application.

Igor, I used with success ashQuick.exe with both WinZip and FlashGet.
Now, FlashGet gives me the 'file not found' error. I always used without any parameter and posted here a lot of times. There is something different (or new) in ashQuick.exe. The FlashGet version is installed a long time ago...  :-\
Title: Re:arguement path for ashquick.exe
Post by: igor on November 03, 2004, 12:52:00 PM
Are you sure that it's not a problem with spaces inside the (unquoted) filename?
Title: Re:arguement path for ashquick.exe
Post by: gott_ad on November 03, 2004, 08:30:24 PM
i'm using freedownloadmanager and the argument that ashQuick gets is %file% (default option) but ashquick doesn't scanning only the downloaded file. he scanns the whole folder. but i think, this isn't a big problem.

i'm also using firefox and i'm seraching the plugin, where the downloads in firefox will be scanned. can you help me? ::)
Title: Re:arguement path for ashquick.exe
Post by: conazus on November 03, 2004, 08:41:45 PM
i'm using freedownloadmanager and the argument that ashQuick gets is %file% (default option) but ashquick doesn't scanning only the downloaded file. he scanns the whole folder. but i think, this isn't a big problem.

i'm also using firefox and i'm seraching the plugin, where the downloads in firefox will be scanned. can you help me? ::)

if you already have your download manager set to scan...  use firefox extension  "download with"  , set it up to use your download manager  and you can do it that way
Title: Re:arguement path for ashquick.exe
Post by: conazus on November 03, 2004, 08:44:18 PM
You can find the downloadwith  extension here:

http://www.extensionsmirror.nl/index.php?showforum=13&prune_day=100&sort_by=A-Z&sort_key=title&topicfilter=all&st=90 (http://www.extensionsmirror.nl/index.php?showforum=13&prune_day=100&sort_by=A-Z&sort_key=title&topicfilter=all&st=90)

there is also one called:  download scan and it will automatically scan downloaded files..   just set it up to use ashquick   :)
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 03, 2004, 09:16:15 PM
Are you sure that it's not a problem with spaces inside the (unquoted) filename?

Yes, it is the problem.
How can I send a file with spaces to be scanned by ashQuick.exe without parameters?
I can right click it in Windows Explorer but I can't use it into FlashGet (download manager).
avast works when FlashGet downloads a file without spaces into its name  :'(
Title: Re:arguement path for ashquick.exe
Post by: igor on November 04, 2004, 09:35:31 AM
I'm afraid you can't - a name with spaces inside has to be enclosed in quotes.
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 04, 2004, 12:05:30 PM
I'm afraid you can't - a name with spaces inside has to be enclosed in quotes.

Would it be so difficult to develop a parameter for ashQuick.exe 'add' these quotes while started by other applications?
Title: Re:arguement path for ashquick.exe
Post by: igor on November 04, 2004, 12:30:32 PM
Parameter, meaning a "command-line argument"? I would expect that if you are able to pass the additional argument (which would have to be the first one!), you should be able to put the quotes around the filename as well... (or not?)

Otherwise, ashQuick can hardly tell whether you pass a single filename to it (containing spaces) or multiple areas... OK, some simple checking possibly could be added (such as if the whole commandline forms a name of an existing file, use it - don't split)
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 04, 2004, 01:09:28 PM
Parameter, meaning a "command-line argument"? I would expect that if you are able to pass the additional argument (which would have to be the first one!), you should be able to put the quotes around the filename as well... (or not?)

Otherwise, ashQuick can hardly tell whether you pass a single filename to it (containing spaces) or multiple areas... OK, some simple checking possibly could be added (such as if the whole commandline forms a name of an existing file, use it - don't split)

I suppose a comman-line argument will work.
No problems on being the first one as, now, I use no arguments at all. It will the first and only one... I can test if you have a 'different' ashQuick.exe to send to me  8)
Title: Re:arguement path for ashquick.exe
Post by: igor on November 04, 2004, 02:20:43 PM
Actually, I chose the second option... added some "cleverness" into the command-line processing, so that now it should be able to accept non-quoted paths (if only a single filename is passed on the command line, of course).
You can check the modified executable here: http://www2.asw.cz/~glucksmann/ashQuick.zip
Title: Re:arguement path for ashquick.exe
Post by: Lisandro on November 04, 2004, 06:07:19 PM
Strange...

ashQuick.exe works (like before) if I use Windows Explorer context menu (i.e., it will scan both files with and without spaces).

The download manager does not even ask for ashQuick scanning... Now I have nothing, no file is scanned  :'(  :-\  :(