卡巴斯基病毒库备份工具

电脑重装的时候,卡巴斯基杀毒软件病毒库更新是件很麻烦的过程!现在用这个BAT批处理,能够很快是的把病毒库备份出来,以便系统重装的时候用!

————————————————————————————————————-

if exist BackUp rd BackUp /q /s

md BackUp

copy /y “%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP8\Data\*.*” BackUp\

copy /y “%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP8\Bases\*.*” BackUp\

copy /y “%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP8\Dskm\*.*” BackUp\

FOR /F “skip=3 tokens=2,*” %%i IN (‘reg query “HKLM\Software\KasperskyLab\AVP6\environment” /v ProductRoot’) DO @SET ProductRoot=%%j%

copy /y “%ProductRoot%\avpgui.ppl” BackUp\

copy /y “%ProductRoot%\BaseInstaller.ppl” BackUp\

copy /y “%ProductRoot%\bl.ppl” BackUp\

copy /y “%ProductRoot%\ExecInstaller.ppl” BackUp\

copy /y “%ProductRoot%\Updater2005.ppl” BackUp\

copy /y %systemroot%\system32\drivers\klif.sys BackUp\

—————————————————————————————————————–

把上面的代码复制到记事本,然后改后缀为bat就可以了!

Leave a comment

You must be logged in to post a comment.