title: How to get only the reply line of a ping test on Windows
body: <p>Usually, when pinging a server IP address we have this in return:</p>
  
  <pre><code>Pinging &lt;IP address&gt; with 32 bytes of data:
  Reply from &lt;ip&gt; : bytes=32 time=151 TTL=121
  Reply from &lt;ip&gt; : bytes=32 time=151 TTL=121
  Reply from &lt;ip&gt; : bytes=32 time=151 TTL=121
  Reply from &lt;ip&gt; : bytes=32 time=151 TTL=121
  
  Ping statistics for &lt;IP address&gt;:
  packets: sent = 4, Received = 4, lost = 0 (0% loss),
  Approximate round trip times in milli-secounds:
  Minimum = 151ms, Maximum = 151 ms, Average = 151 ms
  </code></pre>
  
  <p>How do I get only the following line (only the reply line of one ping test) in return by a simple command in cmd.exe on Windows (whatever Windows language used)?</p>
  
  <pre><code>Reply from &lt;IP address&gt; : bytes=32 time=151 TTL=121
  </code></pre>
  
  <p>Maybe the simplest way is to display only the second line? How should this be done? Because I don't know how to do it on Windows.</p>