Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: b0n3 on September 03, 2003, 07:40:03 AM

Title: line commands
Post by: b0n3 on September 03, 2003, 07:40:03 AM
I am trying to get my IRC client to scan files after they are downloaded.  mIRC has the functionality of doing this built in, but I need to know the file name and syntax to make Avast an indifidual file.  Any suggestions?
Title: Re:line commands
Post by: Vlk on September 03, 2003, 07:55:16 AM
Hi webaddict (or that's not a picture of yours? :'(),

ashQuick.exe is your choice.
For more info please refer to, e.g., http://www.avast.com/forum/index.php?board=2;action=display;threadid=268

Hope this helps,
Vlk
Title: Re:line commands
Post by: b0n3 on September 03, 2003, 03:22:45 PM
So Close! What do you make of this?
Title: Re:line commands
Post by: igor on September 03, 2003, 03:38:12 PM
What exactly did you set in mIRC and what was the filename you were trying to scan?
Title: Re:line commands
Post by: b0n3 on September 03, 2003, 03:42:07 PM
I used the mIRC function shown in this pic.
The filename is variable.  I want to scan every downloaded file.  Mabye I need a wildcard in there.
Title: Re:line commands
Post by: igor on September 03, 2003, 03:52:09 PM
Well, to me it looks like you are scanning a file that has a space in the path/filename, and the filename is not enclosed it quotes when passed to ashQuick. Are there any options on how mIRC will pass the filename to the selected program? Or you probably could use the "Command" box below...
Title: Re:line commands
Post by: igor on September 03, 2003, 08:47:24 PM
How about setting the "command" to perform to
C:\Program Files\Avast4\ashQuick.exe "$1-"
(instead of setting the "application to open")?
Title: Re:line commands
Post by: b0n3 on September 04, 2003, 05:35:46 PM
Thank Both of You for taking an interest in my little experiment.
Yesterday I tried the "perform this Command" feature and used a variety of variables: "$1-"  "$1"  $1  $1-  #1.  Still no luck.  Avast does not even respond to this call, whereas the previous technique was able to activate Avast, but did not complete the task.  I have put in a request with help@mIRC.org.  Perhaps they can shed some light on this mysterious mIRC functionality.  If I learn anything significant I will post it.  Thanks. b0n3 out.
Title: Re:line commands
Post by: Vlk on September 04, 2003, 05:38:53 PM
FYI avast 4.1 (due early next week) directly supports (besides many other things) mIRC so you won't have to set up anything...

Vlk
Title: Re:line commands
Post by: b0n3 on September 05, 2003, 02:34:54 AM
Really?  Do tell more.  Doe you mean that the new Avast will natively monitor the comings and goings of DCC transfers?
Title: Re:line commands
Post by: Vlk on September 05, 2003, 08:29:29 AM
Well no, it doesn't go that deep (which is imho completely unncesessary, anyway) to hook DCC or any other wire stuff. The trick is that it just monitors the mIRC (and other) apps so that it makes sure that all files are immediately scanned when the transfer is complete.

The problem with network hooks is that they usually suffer from huge incompatibility problems -- and we don't want to go this way...

Vlk