CDFControl can be scripted, and configured to run via
command line. Use the syntax provided in the screenshot above for
command line usage. This information can be displayed by running
CDFControl /? via command line.
Examples:
Starting a trace: CDFControl -start -guids c:\guids.ctl
The guids.ctl file is simply a text file, containing the GUID of
each provider to trace. Place each GUID in its own line like
below:
Parsing a trace: CDFControl -decode -tmf
c:\LocalTmfCache\ -o c:\ParsedTrace.csv
The output file must be a .csv file.
Stopping a trace: CDFControl -stop
Cleaning up associated CDFControl files and registry entries
(usually done before deleting CDFControl): CDFControl -cleanup