3 replies
by dmoxley
Justin,
Here is a script I wote to perform the updates with McAfee over a network, log the results and send a message to the administrator when completed successfuly:
:: This is a batch command to update
:: the Mcafee Virus DAT Files.
:: This sets the old dat file and
:: the new dat file.
set DAT=sdat4068
:: This ckecks to see if the new dat
:: file has been installed.
If exist c:\%DAT% goto end
:: This installs the DAT file in silent
:: mode, writes a logfile to the root
:: drive of the computer and reboots if
:: neccessary.
:: i: is a network share point
:: Next lines are actually one line
i:\%DAT%.exe /logfile c:\%DAT% /silent /reboot /prompt
:: This checks to see if the logfile
:: is on the computer then sends a
:: message to the SERVER about a
:: succussful install.
:: Again, On one line
If exist c:\%DAT% net send SERVER "%COMPUTERNAME% has successfully updated %DAT% DAT file"
by justinf
by justinf
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending