Document Analysis Command-line
Top  Previous  Next


Syntax:

CSDiff.exe /OoutFormatOutfile [/bblanksMode] [/scomparMethod] [/i] [/n] [/t=nnn] [/q] BaseFileName CmpFileName [BaseFileTitle CmpFileTitle]

Parameters:

/O[outFormat][outfile] - Generate a report to the specified outputfile.
·h - Generate an HTML report in Friendly Format to outfile.htm (Document Mode)  
·d - Generate a text output in Diff Format to outfile.txt (Document Mode)  
·a - Generate a text output in Diff Format and append to end of outfile.txt (Document Mode)  

(If out-file is not defined, output will be opened in a CSDiff window)

/bblanksMode - Choose blanksMode as follows:
I -- Ignores all blanks. As an example, a = b will compare equal to a=b.
S-- Smart – same as before (default).
D -- Detects all blanks.

/scomparMethod – Choose comparMethod as follows:
L -- perform line fragments analysis.
W -- perform analysis on word level (default).
C -- perform analysis on character level.

/i --Ignores the case of letters. As an example, A will compare equal to a.

/n – Output line numbers

/t=size – Set the tab-stop size.

/q – Do not invoke any windows. (Useful for remote activation and Web server activation.)

BaseFileName - Base File to be compared to the Compared File

CmpFileName - Compared File

BaseFileTitle - Sets alternative title to the default baseFileName title

CmpFileTitle - Sets alternative title to the default CmpFileName title

Examples:

CSDiff.exe /OdDiffOutput.txt C:\temp\base.txt C:\temp\NewFile.txt

CSDiff.exe /OhHtmlOutput.htm /sW /t=4 C:\temp\base.txt C:\temp\NewFile.txt BaseFile RevisedFile