Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




 

Microsoft DOS ping command

Quick links

About ping
Availability
Syntax
Examples
Additional information

About ping

Helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them.

See our dictionary ping definition for additional information.

 

Availability

The ping.exe command is an external command that is available in the below Microsoft Operating Systems.

Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP

 

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating Systems
Ping definition
Tracert

 

Resolved

Were you able to locate the answer to your questions?

Syntax

ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] destination-list

 

Options:  
-t Pings the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count   Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.

Examples

ping localhost

Pings the local host, this will allow you to see if the computer is able to send information out and receive the information back. Note that this does not send information over a network but may allow you to see if the card is being seen.

ping xxx.xxx.xxx.xxx

Allows you to ping another computer where the x's are located are where you would place the IP address of the computer you are attempting to ping. If this is not able to complete this should relay back an unsuccessful message which could be an indication of cable issues, network card issues, hub issue, etc.

ping computerhope.com

PING computerhope.com (204.228.150.3) 56(84) bytes of data.
64 bytes from www.computerhope.com (204.228.150.3): icmp_seq=1 ttl=63 time=0.267 ms

--- computerhope.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.267/0.267/0.267/0.000 ms

Additional information

  • Information about why pinging a website such as microsoft.com may not return a response can be found on document CH001054.
  • See document CH001055 for additional information about determining the IP address of a web page.
  • Ping a website or check if it's online through our free is it up utility.

 

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope