Wednesday, May 28, 2008

Automated Command Line Kaspersky Update in M$ Windows

For those of you doing some manual updates on your command line AV scanners here's one you can use to automate the task. This is used in updating Kaspersky, all you need is the wget tool and include the instructions below in a batch file.

wget.exe --directory-prefix=kav ftp://updates2.kaspersky-labs.com/updates_ext/avp.set
FOR /F "tokens=1" %%i IN ('type .\kav\avp.set') DO wget.exe --directory-prefix=kav ftp://updates2.kaspersky-labs.com/updates_ext/%%i

You can get wget in here
http://gnuwin32.sourceforge.net/packages/wget.htm

No comments: