China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-07 19:04
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Manually download the virus database package to update Kaspersky Anti-Virus 7.0 View 1,553 Replies 5
Original Poster Posted 2008-03-12 00:01 ·  中国 北京 电信
银牌会员
★★★
Credits 2,098
Posts 566
Joined 2007-09-11 07:27
18-year member
UID 97070
Gender Male
Status Offline
::Manually download virus database package to update kav7	s11ss@www.cn-dos.net 2008-3-11
@echo off

echo 1. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and remove the check mark in front of "Enable Self-Protection".
:s
set/p s=OK?(y/n)
if /i "%s%" equ "N" goto :s

echo 2. Download the two virus database packages av-i386-cumul.zip and av-i386-daily.zip to the root directory of drive C
echo ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
echo ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
set/p s=Have you finished downloading with the download software? (y/n)
if /i "%s%" equ "y" goto :s3
ping www.baidu.com -n 2 >nul||(echo Network is not connected!&pause>nul&exit/b)
set/p s=Please download the file av-i386-cumul.zip to the root directory of drive C and do not rename it. Is it confirmed? (y/n)
if /i "%s%" equ "N" exit/b
explorer ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
:s1
set/p s=Please confirm that av-i386-cumul.zip has been downloaded completely (y/n)
if /i "%s%" equ "N" goto :s1
set/p s=Please download the file av-i386-daily.zip to the root directory of drive C and do not rename it. Is it confirmed? (y/n)
if /i "%s%" equ "N" exit/b
explorer ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
:s2
set/p s=Please confirm that av-i386-daily.zip has been downloaded completely (y/n)
if /i "%s%" equ "N" goto :s2

:s3
echo 3. First unzip av-i386-cumul.zip in overwrite mode, then unzip av-i386-daily.zip
if not exist c:\av-i386-cumul.zip echo c:\av-i386-cumul.zip does not exist&pause>nul&exit/b
if not exist c:\av-i386-daily.zip echo c:\av-i386-daily.zip does not exist&pause>nul&exit/b
for /f "skip=4 tokens=1,2*" %%a in ('reg query hklm\software\classes\.rar\shellnew') do set p=%%c
set winrar="%p:rarnew.dat=winrar.exe%"
if not exist %winrar% echo WinRar.exe does not exist, please unzip it yourself!&pause>nul&exit/b
for /f "skip=4 tokens=1,2*" %%a in ('reg query HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\protected\AVP7\environment /v dataroot') do set kav7="%%c\Bases"
%winrar% x -o+ c:\av-i386-cumul.zip %kav7%
%winrar% x -o+ c:\av-i386-daily.zip %kav7%

echo 4. Right-click the Kaspersky icon in the lower right corner, select "Exit", then run the Kaspersky program from "Start" menu - "Programs".
pause>nul

echo 5. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and put a check mark in front of "Enable Self-Protection".

pause>nul
exit/b

Reference network article:
1. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and remove the check mark in front of "Enable Self-Protection".
2. Click the following two links to download the two virus database packages av-i386-cumul.zip and av-i386-daily.zip
ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
3. Unzip the downloaded two compressed packages in sequence to the following directory C:\Documents and Settings\All Users\Application Data\Kaspersky Lab\AVP7\Bases, and overwrite the files in it. (Note: Be sure to unzip av-i386-cumul.zip first, then unzip av-i386-daily.zip)
4. Right-click the Kaspersky icon in the lower right corner, select "Exit", then run the Kaspersky program from "Start" menu - "Programs".
5. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and put a check mark in front of "Enable Self-Protection".
Floor 2 Posted 2008-03-12 02:12 ·  中国 湖南 株洲 电信
金牌会员
★★★★
永远的学习者
Credits 3,105
Posts 1,276
Joined 2008-03-08 13:00
18-year member
UID 112398
Gender Male
Status Offline
Hehe, the original poster really put in a lot of thought. I applaud your spirit!
Floor 3 Posted 2008-03-12 02:14 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
The things of s11ss need to be learned when there is time!!!!!1
Floor 4 Posted 2008-03-12 09:15 ·  中国 福建 福州 连江县 联通
高级用户
★★
Credits 581
Posts 277
Joined 2006-12-23 05:10
19-year member
UID 74328
Gender Male
Status Offline
Come in and support first, then study it carefully
Floor 5 Posted 2008-03-12 09:41 ·  中国 福建 福州 连江县 联通
高级用户
★★
Credits 581
Posts 277
Joined 2006-12-23 05:10
19-year member
UID 74328
Gender Male
Status Offline
ping www.baidu.com -n 2 >nul||(echo Network not connected!&pause>nul&exit/b)

Judging network connection by pinging Baidu may not be very accurate.

I remember that in some cases, when the broadband connection is not dialed, visiting Baidu will also display the page.

It is estimated that it is caused by automatically reading the previously visited cache.
Floor 6 Posted 2008-03-12 20:20 ·  中国 北京 电信
银牌会员
★★★
Credits 2,098
Posts 566
Joined 2007-09-11 07:27
18-year member
UID 97070
Gender Male
Status Offline
Originally posted by suntb at 2008-3-12 09:41 AM:
ping www.baidu.com -n 2 >nul||(echo 网络未连通!&pause>nul&exit/b)

Judging the network connection by pinging Baidu may not be very accurate

I remember that in some cases ...

Then ping g.cn
Forum Jump: