Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

BgInfo : BGInfo - Mcafee Virus Scan 8.7 Variables

$
0
0
Author: tsvyak07
Subject: BGInfo - Mcafee Virus Scan 8.7 Variables
Posted: 28 April 2015 at 7:50pm

Originally posted by WindowsStar WindowsStar wrote:

Here is a quick VBScript I wrote up that will give you the information you want. You could just grab the entries out of the registry but this script combines the version, pads the zeros and displays all the information together. - WS

 
Copy and paste the code below into notepad and save as "GetMcAfeeInfo.vbs" make sure to include the quotes or notepad will change it to a .txt file. Copy saved file GetMcAfeeInfo.vbs into the BGInfo folder and add it to your configuration.
 
 
' Special BGInfo Script
' Get McAfee DAT Date and Version v1.3.3
' Programmed by WindowsStar - Free to Use 2012
' ------------------------------------------------
Set WShShell = WScript.CreateObject("WScript.Shell")

AVDatDate = WSHShell.RegRead ("HKLM\Software\McAfee\AvEngine\AVDatDate")
AVDatHexVersion = WSHShell.RegRead ("HKLM\Software\McAfee\AvEngine\AVDatVersion")
AVDatHexVersionMinor = WSHShell.RegRead ("HKLM\Software\McAfee\AvEngine\AVDatVersionMinor")

Echo AvDatDate & vbLF & AVDatHexVersion & "." & Right("0000" & AVDatHexVersionMinor,4)
 
 

Hello my friend ,unfortunately your script not working on (Windows 7),please help me ???Cry

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>