AVG free command line

S

sparks691

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
 
B

bassbag

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top