I posted this in another topic, but in order to make it easier to find in a search I decided to post it as a new topic.

code:
$DefUpdate = '%compspec% /c "\\myserver\myshare\1101x86.exe /q"'
$RC = ""
$RC = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedDefs","NAVCORP_70")
$RC = SUBSTR($RC,INSTR($RC,".")-8,8)
IF ((((@year-2000)*365)+@ydayno)-(((val(SUBSTR($RC,1,4))-2000)*365)+((val(SUBSTR($RC,5,2))-1)*30)+val(SUBSTR($RC,7,2))))>90
RUN $DefUpdate
$nul = MESSAGEBOX("Warning...Norton AntiVirus definition files are over 90 days old on this system. Please wait while we attempt to update these files for you.", "Norton AntiVirus Definitions Check", 16)
ENDIF


Suggestions welcome

[ 02 November 2001: Message edited by: NTDOC ]