Table of contents
TOC
Collapse the table of content
Expand the table of content

Example 2: Basic Command

Last Updated: 11/22/2016

The syntax of the basic command used to start Tracefmt is as follows:

tracefmt EtlFile -p TMFPath -o OutputFile

For example,

tracefmt mytrace.etl -p c:\tracing -o mytrace.txt

This command uses the EtlFile parameter to specify the trace log file, mytrace.etl. It uses the -p parameter to indicate the directory in which the TMF file is stored, and the -o parameter to specify an alternate name for the output file.

In response, Tracefmt formats the trace messages in the mytrace.etl trace log file by using a TMF file in the c:\tracing directory. It creates an output file named mytrace.txt and a summary file named mytrace.txt.sum.

Send comments about this topic to Microsoft

© 2017 Microsoft