Forrest logo
back to the tracert tool

tracert:tldr:bf1a9

tracert: Display help.
$ tracert /?
try on your machine

The "tracert /?" command is used to display the help information and usage options for the "tracert" command in the Windows Command Prompt or Command Line.

When you run the "tracert /?" command, it will provide you with a list of usage options and a brief description of each option. These options can be used to customize and control the behavior of the "tracert" command.

Here is an example of the output you may see when running "tracert /?":

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:
    -d            Do not resolve addresses to hostnames.
    -h maximum_hops  Maximum number of hops to search for target.
    -j host-list   Loose source route along host-list.
    -w timeout     Wait timeout milliseconds for each reply.

The options listed in the output provide the following functionality:

  • "-d": This option prevents the "tracert" command from resolving IP addresses to their corresponding hostnames, only showing the IP addresses.
  • "-h maximum_hops": Specifies the max number of hops (network nodes) to search for the target before terminating the trace.
  • "-j host-list": Specifies a list of hosts to be visited on the trace path. This allows you to specify a loose source route.
  • "-w timeout": Defines the timeout value (in milliseconds) for each reply or hop during the trace route process.

By using these options, you can customize how the "tracert" command works and get more specific information about network connectivity and the route packets take to reach a destination.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tracert tool