You are here: >

Microsoft DOS pathping command

pathping commandAbout pathping
Availability
Pathping syntax
Pathping examples

About pathping

Similar to the tracert command, pathping provides users with the ability of locating spots that have network latency and network loss.

Availability

The pathping command is an external command that is available in the below Microsoft operating systems as pathping.exe.

Windows 2000
Windows XP
Windows Vista
Windows 7
Windows 8
Windows 10

Pathping syntax

Windows XP, Vista, 7, and 8 syntax
Windows 2000 syntax

Windows XP, Vista, 7, and 8 syntax

Usage:

pathping [-g host-list] [-h maximum_hops] [-i address] [-n] [-p period] [-q num_queries] [-w timeout] [-P] [-R] [-T] [-4] [-6] target_name

Options:

-g host-list Loose source route along host-list.
-h maximum_hops Maximum number of hops to search for target.
-i address Use the specified source address.
-n Do not resolve addresses to hostnames.
-p period Wait period milliseconds between pings.
-q num_queries Number of queries per hop.
-w timeout Wait timeout milliseconds for each reply.
-P Test for RSVP PATH connectivity.
-R Test if each hop is RSVP aware.
-T Test connectivity to each hop with Layer-2 priority tags.
-4 Force using IPv4.
-6 Force using IPv6.

Windows 2000 syntax

Usage:

pathping [-n] [-h maximum_hops] [-g host-list] [-p period] [-q num_queries] [-w timeout] [-t] [-R] [-r] target_name

Options:

-n Do not resolve addresses to hostnames.
-h maximum_hops Maximum number of hops to search for target.
-g host-list Loose source route along host-list.
-p period Wait period milliseconds between pings.
-q num_queries Number of queries per hop.
-w timeout Wait timeout milliseconds for each reply.
-T Test connectivity to each hop with Layer-2 priority tags.
-R Test if each hop is RSVP aware.

Pathping examples

pathping computerhope.com

Tracing route to computerhope.com [204.228.150.3]
over a maximum of 30 hops:
0 Hope [192.168.120.101]
1 192.168.120.254
2 ...
Computing statistics for 50 seconds...


Hop

RTT
Source to Here
Lost/Sent = Pct
This Node/Link
Lost/Sent = Pct

Address

0

1

2



 0ms

---


0/ 100 = 0%

100/100 = 100%

0/100 = 0%
0/100 = 0%
100/100 = 100%
0/100 = 0%
0 Hope [192.168.120.101]
  |
192.168.120.254
  |
Hope [0.0.0.0]

Trace complete.

Additional information

  • See our trace definition for further information and related links on this term.