Originally posted by bill bearden
netcfgLoad "$::env(HCISITEDIR)/NetConfig"set conns [netcfgGetConnList]set prot ""set ibdir ""foreach conn $conns { catch { if {[cequal $conn "TheOneYouAreLookingFor"]} { set prot [netcfgGetConnData $conn "PROTOCOL"] set ibdir [keylget prot IBDIR] } } echo $conn:$ibdir}