The pathping command is one of the most popular network troubleshooting tools in Windows. This command combines the functionality of tracert and ping. It is commonly used to troubleshoot network issues, particularly the ones related to latency and network performance. This command sends multiple echo Request messages to each router between a source and destination, over a period of time, and then computes results based on the packets returned from each router. Because this command displays the degree of packet loss at any given router or link, you can determine which routers or subnets might be having network problems. Used without parameters, this command displays help.
Syntax: pathping [options] [target]
- -q to set the number of echo requests
- -h to set the maximum number of hops
- -w to set the timeout period waiting for a reply
- -n to prevent the command from resolving the IP address of the routers