I would if it will work.
The problem is that symantec writes 20111118
year month day, but mcafee writes 2011/11/18
year/month/day, and the varibels works in the script.
It's the / that is the main problem in registry.
If it's removed from registry, the script works, but can't make mcafee write...
oDef is the output from this key.
oDef = oShell.RegRead ("HKLM\SOFTWARE\McAfee\AVEngine\AVDatDate")
which is 2011/11/18 equals today.
if your using Mcafee AV.
But you can make it read any key in registry, which holds the date format like year/month/day.
it works fine, but when slash / is in...
One more thing.
In registry it says 2011/11/17
year month day with the /
When I remove the / from registry the script works.
Thanks for all the help so fare.
Stougaards.
Found the Code way,I'm new to this. :-)
I know it long, but it the full script.
It reads the data in the registry, and makes a file.
Dont know if it any help to solve the problem, but I hope so.
Credit goes to where credit is to be...
Option Explicit
'Script to be used with BBNT to check...
Hey There.
I have a VB script which reading AV signatur date information from registry and compare the day with today,
and gives the difference in days, but when reading this 2011/11/17 from a registry key im getting Microsoft VBScript runtime error:
Type mismatch: 'CDATE'
This is the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.