In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces the batch processing how to use FLASHGET to check Mcafee SuperDat updates, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
As a result of making a script, use Mcafee SuperDat for virus detection (http://blog.csdn.net/scz123/archive/2006/11/02/1362566.aspx), but when the virus code is updated, you have to download it manually on the website, fix this script, and use the virus checking function after FLASHGET download to run, so as to automatically check and download Mcafee SuperDat updates.
The code is as follows:
@ echo off
Echo.
Echo =
Echo FLASHGET downloads a test script to update MCAFEE SUPERDAT automatically
Echo created by scz 20061102
Echo =
Rem Please use the virus detection feature of FLASHGET and specify it as the script
Rem mainly uses FLASHGET when downloading update pages
Rem has FLASHGET1.5 and above download the update page regularly: "E:\ Program Files\ FlashGet\ flashget.exe" http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=cn&segment=enterprise f:\ bak\ checkMcafee
Rem is equipped with only flashget for virus detection. After downloading, the script will be run, and then the SupperDat will be updated automatically.
Rem and then download the page again on a regular basis
The path, file name, and extension of the rem download to the file
Set filepath=%~dp1
Set filename=%~n1
Set fileExt=%~x1
Rem FLASHGET path
Set FLASHGET= "E:\ Program Files\ FlashGet\ flashget.exe"
Rem SuperDat storage path
Set datPath=f:\ bak\ update\
Storage path of asp page checked by rem
Set aspPath=f:\ bak\ checkMcafee\
Rem string comparison
Echo.
Echo checks the format and location of the downloaded file.
(echo -% filepath%- | find / I "-% datPath%-" > nul) & & (echo -% filename%- | find / I "- sdat" > nul) & & (echo -% fileExt%- | find / I "- .exe -" > nul) & & goto checkdat
(echo -% filepath%- | find / I "-% aspPath%-" > nul) & & (echo -% filename%%fileExt%- | find / I "- superdat.asp-" > nul) & & goto checkasp
Echo downloaded to file:% filepath%%filename%%fileExt%, does not need to be processed
Goto end
: checkdat
Echo.
Echo is downloaded to SuperDat:% filename%%fileExt%, processing...
Cd / d datPath%
Ren filename%%fileExt% McAfee.%filename%%fileExt%
Echo deletes the old SuperDat...
For / f "skip=1"% I in ('dir mcafee*.exe / tc / Omurd / b 2^ > nul') do (del% I)
Echo Notification to release MCAFEE SUPERDAT...
Start "" McAfee.%filename%%fileExt% / e c:\ mcafee
The echo SuperDat has been processed.
Goto end
: checkasp
Echo.
Download echo to superdat.asp...
Set url=
Set sdatname=
Cd / d f:\ bak\ checkMcafee
Echo Analysis of superdat.asp...
For / f "tokens=3,4* delims=="% I in ('type superdat.asp ^ | find "simplified/sdat"') do (set url=%%i & set sdatname=%%j)
Set ver0=%sdatname:sdat=%
Set ver1=%ver0:.exe=%
Echo analysis result: SUPPERDAT version number is% ver1%
Cd / d datPath%
If exist sdatname% ren sdatname% McAfee.%sdatname%
If exist mcafee.%sdatname% (the latest version of echo already exists & goto end) else (echo this version is not downloaded, notify FLASHGET to download & start "% FLASHGET%% url%% datPath%)
Goto end
: end
Echo.
Pause
Thank you for reading this article carefully. I hope the article "how to check Mcafee SuperDat updates with FLASHGET" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 201
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.