Share via


PREfast View

A PREfast View command displays an interactive, XML-formatted version of the PREfast for Drivers Defect Log. You can use a PREfast View command to display the Defect Log as soon as the analysis is complete and any time thereafter until you use a PREfast Reset command or delete the Defect Log.

prefast [/log=LogFile] [/FilterPreset=PresetName] view

Parameters

Parameters

  • **/log=**LogFile
    Displays the specified Defect Log. By default, this command displays the Defects.xml file.

    The default location of the Defects.xml file is %APPDATA%\Microsoft\PFD.

    For Windows Vista, the %APPDATA% variable becomes <drive>:\Users\<user>\Application Data.

    For Windows XP or Windows Server 2003 the %APPDATA% variable becomes <drive>:\Documents and Settings\<user>\Application Data.

  • **/FilterPreset=**PresetName
    Applies the specified preset filter to the Defect Log displayed at the command line. The filter names are case-sensitive. For a list of preset filters, see List of Preset Filters.

    By default, no filters are applied. This parameter is equivalent to using a PREfast View command, and then using the Filters button to apply a preset filter.

Examples

prefast view
prefast /log=d:\usbdriver\pfdlog.xml view
prefast /FilterPreset=winpft

Comments

The components of this command must appear in the order shown in the Syntax section.

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011