Command Line Examples - General File Comparison

Below are some examples to choose from. Select the example closest to what you require and modify it .

If you are have any trouble using these examples, please see:

Using the Command Line Interface

Helpful Hints for Creating a Command Line

Remember:  if you don't specify a particular option in the command line, the option will default to whatever was last set in the user interface.

 

Example 1

Compare two TXT Files

Show Side by Side

Example 2

Compare two DOC Files

Show All In One

Create a log file

Example 3

Compare two DOC Files

Show All In One or Side by Side

Create HTML File Report and give it a title

Create Word File Report and give it a title

Create a log file

Exit when done

Example 4

Compare two DOC Files

Create Text File Report

Exit when done

Example 5

Compare two DOC Files

Create and open a CSV Report

Exit when done

Example 6

Compare two DOC Files

Create and open a DOC Report

Exit when done

Example 7

Compare two PDF Files with password "gonefishing"

Show Side by Side

Display status message after comparison

 

Example 1

DiffDoc /M "d:\a\Aristotle.TXT" /S "d:\a\Socrates.TXT" /V

This command line instructs DiffDoc to:

 

 

 

Example 2

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC" /F1 /L D:\a\compare.LOG

This command line instructs DiffDoc to:

 

 

 

Example 3

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC" /F1 /R1 /T "D:\a\Report.HTM" /7"Geek Philosophers" /O /L"D:\A\compare.LOG" /X

This command line instructs DiffDoc to:

 

 

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC" /F2 /R1 /T "D:\a\Report.DOC" /7"Geek Philosophers" /O /L"D:\A\compare.LOG" /X

This variation of Example 3 instructs DiffDoc to:

 

 

Example 4

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC"/R2 /T "D:\a\Report.TXT" /O /L "D:\A\compare.LOG" /X

This command line instructs DiffDoc to:

 

 

 

Example 5

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC" /R3 /T D:\a\Report.CSV /O /L D:\A\compare.LOG /X

This command line instructs DiffDoc to:

 

 

Example 6

DiffDoc /M "d:\a\Aristotle.DOC" /S "d:\a\Socrates.DOC" /R4 /T D:\a\Report.DOC /O /L D:\A\compare.LOG /X

This command line instructs DiffDoc to:

 

 

Example 7

DiffDoc /M "C:\MyDocuments\FirstFile.PDF" /S "C:\MyDocuments\SecondFile.PDF" /8 gonefishing /F2 /V

This command line instructs DiffDoc to:

 

See Also:

Using the Command Line Interface

Helpful Hints for Creating a Command Line

Command Line Examples - Folder Comparison

Command Line Examples - Excel Files Comparison