Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for savver.kix

(view source code of savver.kix as plain text)

  1. ; AVVer.kix,  Version 1.00
  2. ; Determine the exact version of the Symantec AntiVirus
  3. ; program file and the current definition files
  4. ;
  5. ; Usage:  KIX32  SAVVER.KIX
  6. ;
  7. ; Written by Rob van der Woude
  8. ; http://www.robvanderwoude.com
  9. ;
  10. ; Note:   This script and its author are in
  11. ;         no way associated with Symantec.
  12.  
  13. ; Determine the exact version of Symantec AntiVirus and the current definitions
  14. $SAVDir1 = "C:\Program Files\SAV"
  15. $SAVDir2 = "C:\Program Files\Symantec AntiVirus"
  16. $SAVDir3 = "C:\Program Files\Common Files\Symantec Shared\VirusDefs"
  17. $SAVVer  = GetFileVersion( "$SAVDir1\Rtvscan.exe" ) + GetFileVersion( "$SAVDir2\Rtvscan.exe" )
  18. $SAVDef  = ReadProfileString( "$SAVDir3\definfo.dat", "DefDates", "CurDefs" )
  19.  
  20. ; Display the result
  21. ? "Symantec AntiVirus version : $SAVVer"
  22. ? "Virus definitions version  : $SAVDef"
  23.  

page last uploaded: 2017-08-21, 14:26