An example using the GetNavAntiVirusInfo() UDF. Taken from the UDF header.
GetNavAntiVirusInfo() - Returns Information and Date of installed Symantec AntiVirus

You need to get the UDF and place it in the drive specified in the call.

Code:

Break On

Call @LDRIVE + "\functions\GetNavAntiVirusInfo().udf"

$nul=SetOption('WrapAtEOL','ON')
$nul=SetOption('Explicit','ON')
$nul=SetOption('NoVarsInStrings','ON')

Dim $NAVInfo

$NAVInfo = GetNavAntiVirusInfo('NTDOCWORK1','5',,)
? 'Host Name: '+$NAVInfo[5]
? 'Engine Ver: '+$NAVInfo[0]
? 'Def Date: '+$NAVInfo[1]
? 'Parent Server: '+$NAVInfo[2]
? 'Client Type: '+$NAVInfo[3]
? 'Install Folder: '+$NAVInfo[4]



Edited by Mart (2006-01-16 10:52 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.