Batch Processing ping data Chinese edition

Source: Internet
Author: User

CopyCode The Code is as follows: @ echo off
Color F2
Echo.
Set for = on
Set of =
Set with =
Set in = (
Set Data: = Data
Set milli-seconds: = in milliseconds)
Set approximate = approximately
Set times = Time:
Set round = back and forth
Set trip = trip
Set reply = Response
Set From = from
Set bytes = byte
Set Time = Time:
Set timed = Time
Set out = exceeds
Set statistics = statistics
Set packets: = package:
Set sent =
Set received ED = received =
Set lost = Lost =
Set loss) = Lost)
Set minimum = Minimum value =
Set maximum = maximum value =
Set average =
Set TTL =
Setlocal enabledelayedexpansion
Set a =
Set/p a = enter the URL or IP address to ping
For/F "delims =" % I in ('Ping % A % ') Do (
Set ret =
For % A in (% I) do if defined % A (set ret =! RET !! % !) Else set ret =! RET! %
If not "! RET! "=" "(Set ret =! RET: time = time! & Echo! RET !) Else echo.
)
Pause> NUL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.