Brian,
Here's a snippet of code I use to browse the network and check up on NAV. I'm sure you can adapt...
code:
break on
Call "C:\KiX4.02\UDF\netview.kix"
;Get VPDate from NAV primary
$computer ="FFRAS"
GoSub CurrentPatternName
$NAVMaster = $CurrentPatternName
$currentbuildver = "7.61.00.932"
$netview = netview("@LDOMAIN")
if @error = 0
for each $computer in $netview
if $computer <> "FFCDTOWER" ;darn Linux
$computer
if KeyExist("\\"+ $computer +"\HKLM\SOFTWARE" )
$RC=WriteProfileString("C:\KiX4.02\NAVStatus.ini", "$computer", "LastSeen", "@Date")
Gosub FindMore
else
?
endif
endif
next
endif
? "That all for this go around"
Get $_
Exit 1
p.s It uses Shawn's NetView() UDF and I left out the subroutines to keep it short as it is not really relevant to your task.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.