I don't know about what you claim IPCONFIG to return, but mine does not return the string you gave as an example.
You don't need to send to to a test file either. You can pipe it back to KiX with one of several pipe UDFs. You also don't need to use GREP when FIND is built in.
Code:
  ipconfig | find "IP Address. . . . . . . . . . . . :"


_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.