Here are some examples launching PIX from the command line. To see a full list of the command-line options, see Command-Line Syntax.
Assume the following.
Here is the syntax for running the experiment and saving the results to a run file.
PIXWin.exe game.PIXExp -targetpath game.exe -runfile game1.PIXRun -start
To change the location of where the run file will be saved, add the runfile option.
PIXWin.exe game.PIXExp -targetpath game.exe -runfile datafiles\game1.PIXRun -start
Assume the following.
Here is the syntax for launching a run file and saving it to a .csv file.
PIXWin.exe game.PIXRun -exporttocsv game.csv
Assume the following.
Here is the syntax for opening both image files and doing a per-pixel comparison.
PIXWin.exe file1.jpg file2.jpg [-outputdiffxor diff.jpg]