Thank you both for your response. I tried all the solutions you provided &
all work. I still have one question. In the vbscript below, how can I dump
the output into a variable? That is, instead of echoing the output to the
screen, I save it to a variable ? Thanks
"Mark V" <(E-Mail Removed)> wrote in message
news:Xns9429493F368E4z9zzaQ2btw@207.46.248.16...
> In microsoft.public.win2000.registry Dave Patrick wrote:
>
> > This VBScript should work. Watch for line wrap.
> >
> > Dim WshShell
> > Set WshShell = WScript.CreateObject("WScript.Shell")
> >
> > WScript.Echo WshShell.RegRead("HKLM\SOFTWARE\Network
> > Associates\TVD\VirusScan\szCurrentVersionNumber")
> >
> OP,
> If you have disabled scripting you might make a batch solution using
> REG.EXE (from the Support Tools) or possibly using psinfo.exe from
> www.sysyinternals.com. I have no such software to test these ideas
> though.