Windows 如何在没有ping统计信息的情况下获得ping命令的输出?
例如,在Windows7中,命令的输出Windows 如何在没有ping统计信息的情况下获得ping命令的输出?,windows,command,ping,Windows,Command,Ping,例如,在Windows7中,命令的输出 ping -n 1 ::1 详情如下: Pinging ::1 with 32 bytes of data: Reply from ::1: time<1ms Ping statistics for ::1: Packets: Sent = 1, Received = 1, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0m
ping -n 1 ::1
详情如下:
Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms
Ping statistics for ::1:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
ping::1,包含32字节的数据:
回复自::1:time可能使用以下命令:
ping -n 1 ::1 | find "string to search"
您使用输出的目的是什么?用于记录主机的可达性是!当然谢谢比预期的要好:ping-n1::1 |找到“回复”