Capturing command line output
I need to capture the output of the NSLOOKUP command for parsing and
processing in a script. Right the only option I know of is to pipe the
NSLOOKUP output into a file and then parse it there. Is there a way to say,
capture the output of NSLOOKUP into something like STDIN or some other
object, OR, does someone know of a COM or ActiveX object that does NSLOOKUP
and or Ping?