Les and Erik,Well to keep this thread off of the original topic
I was right... I found the old code I was working on back in August. Don't remember why I quit working on it - probably got side tracked onto something else. Anyway, here is a sample. Let me know if you find anything wrong with it or if you think of a better way to do it.
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
[ 02 November 2001: Message edited by: NTDOC ]