Microsoft DOS pathping command
Quick links
About pathping
Availability
Syntax
Examples
Similar to the tracert command, pathping provides users with the ability of locating spots that have network latency and network loss.
The pathping.exe command is an external command that is available in the below Microsoft operating systems.
Windows 2000
Windows XP
Windows Vista
Windows 7
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. |
Windows XP 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. |
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 | 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.
