Extract something from a output - is this possible .?
Posted: 29 Sep 2008 12:23
Hi ,
I have this wierd issue,
Iam going to remotely extract the IP address from test tool which we we ues. What I wanted was something which could do like
ipconfig /all |find "IP Address" > text.txt
this is currently doing
IP Address. . . . . . . . . . . . : 137.117.176.102
Can we just push the 137.117.176.102 part straight to the file ..
Is it possible , I am writing some clumsy C code in my test tool to do that , but it would be better if I execute this system command from C which would simply output my IP and then I pick it up .....
Thanks
PS
I have this wierd issue,
Iam going to remotely extract the IP address from test tool which we we ues. What I wanted was something which could do like
ipconfig /all |find "IP Address" > text.txt
this is currently doing
IP Address. . . . . . . . . . . . : 137.117.176.102
Can we just push the 137.117.176.102 part straight to the file ..
Is it possible , I am writing some clumsy C code in my test tool to do that , but it would be better if I execute this system command from C which would simply output my IP and then I pick it up .....
Thanks
PS