Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi
I want to get the IP-address of ping or nslookup into a variable.
I have done this:
ping -n 1 %CNAME% | find /i "reply"
but i cannot get it in to a variable, i only want the ip address not the reply thingy.
plz help

![]() |
BATCH SCRIPT
|
Olivetti M400 - 40
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |