Tracert Home
Platform Builder for Microsoft Windows CE 5.0
Tracert
Send Feedback

You can use Tracert.exe to send ICMPv6 or ICMP Echo Request messages to produce command-line report information about each router that is crossed and the roundtrip time (RTT) for each hop. By default, tracert queries for both IPv4 and IPv6 addresses, and uses the addresses that the operating system (OS) returns. You can override this behavior by using the –4 and –6 options.

tracert [-p] [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-r] [-s srcaddr] [-4] [-6] target_name

Parameters

-p
Redirects the output to the debug output port.
-d
Specifies not to resolve addresses to hostnames.
-h maximum_hops
Specifies the maximum number of hops to search for target.
-j host-list
Specifies loose source route along the host-list (IPv4 only).
-w timeout
Specifies the wait timeout milliseconds for each reply.
-r
Specifies to trace the round-trip path (IPv6 only).
-s srcaddr
Specifies the IPv6 source address of this computer (IPv6 only).
-4
Specifies to trace the path taken by IPv4 packets from this computer to a remote computer.
-6
Specifies to trace the path taken by IPv6 packets from this computer to a remote computer.
target_name
Specifies the target name of the remote computer.

Remarks

If tracert is unsuccessful, you can use the command-line report information to determine the intermediate router in which forwarding either failed or was slowed.

See Also

Network Utilities Application Development


Send Feedback on this topic to the authors

Feedback FAQs


© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View