Help!

AVG free command line

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> AVG RSS
Next:  McAfee Left-Overs  
Author Message
sparks691
External


Since: Feb 12, 2007
Posts: 1



PostPosted: Mon Feb 12, 2007 1:56 pm    Post subject: AVG free command line
Archived from groups: alt>comp>anti-virus (more info?)

AVG 7 free version has only two auto scan options. Scan all drives
every day or never. I would like to do a full scan once a week so I
figure I can use the command line scan and windows task scheduler.
I have made several attempts to run "avgscan.exe" using the command
line parameters from the "/?" command but I can't get it exactly
right.
/SCAN * doesn't scan all drives.
Using /SCAN c:\ d:\ g:\ AVG always fails to scan the last drive on
the list. Can't figure out the correct delimiter?


Additionally, I would like to have some way to be informed when a
virus is found. I tried the /LOG and /REPORT commands and these are
ok but what I would really like to do is run the command in a batch
file and redirect the stdout from avgscan.exe to a file. So far I
have no clue about why the command:
avgscan.exe /SCAN C:\ > logfile.txt
Does not work in a batch file.

Thanks,
BDS
Back to top
bassbag
External


Since: Dec 25, 2003
Posts: 100



PostPosted: Tue Feb 13, 2007 12:42 am    Post subject: Re: AVG free command line [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
sparks691@centurytel.net says...
> AVG 7 free version has only two auto scan options. Scan all drives
> every day or never. I would like to do a full scan once a week so I
> figure I can use the command line scan and windows task scheduler.
> I have made several attempts to run "avgscan.exe" using the command
> line parameters from the "/?" command but I can't get it exactly
> right.
> /SCAN * doesn't scan all drives.
> Using /SCAN c:\ d:\ g:\ AVG always fails to scan the last drive on
> the list. Can't figure out the correct delimiter?
>
>
> Additionally, I would like to have some way to be informed when a
> virus is found. I tried the /LOG and /REPORT commands and these are
> ok but what I would really like to do is run the command in a batch
> file and redirect the stdout from avgscan.exe to a file. So far I
> have no clue about why the command:
> avgscan.exe /SCAN C:\ > logfile.txt
> Does not work in a batch file.
>
> Thanks,
> BDS
>
>
Ive made a shortcut on desktop to perform one click complete scan.I use
AVG ISS .However i dont see any reason why it wont work in the free.Make
the shortcut and point the scheduler at it and see if it works.Changing
the test number changes the type of scan.2 is the complete scan.
"C:\Program Files\Grisoft\AVG7\avgw.exe" /TEST=2
me
Back to top
jdkeifer



Joined: Jul 31, 2008
Posts: 1



PostPosted: Fri Aug 01, 2008 12:57 am    Post subject: Re: AVG free command line [Login to view extended thread Info.]

I use win2k SP4 and have AVG 8, I use AVG to scan from the command line with a batch file. Here is the contents of the batch file;

@echo off
CD\
CD PROGRA~1
CD AVG
CD AVG8
"AVGSCANX.EXE" /HEUR /ARC /CLEAN /SCAN=%1 %2 %3 %4 %5 %6 %7 %8

This is called from my ftp program and scans the uploaded files perfectly.

Ensure that the shell extension scan option is checked in AVG and everything should work fine.

Jim
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> AVG All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum