Empower yourself with File compare tools from Softinterface.

WordDocDiff Command Line

 

WordDocDiff Home

Excel Examples

Document Examples

What is the Command Line?

WordDocDiff can be run from the command line allowing you to automate processes through the use of batch files.  Alternatively you can launch WDD from 3rd party programs extending their functionality.  To compare Excel files this way click here.

  The syntax for the command line is:

WDD /M{MasterFile} /S{Source File} [/I] [/W] [/Q] [/A] [/B] [/E] [/H] [/X] [/Y#] [/Z#] [/1 - 4]   [/T{ReportFile}] [/R#] [/F#] [/L{Log File}]  [/V] [/O]

Items above enclosed in square brackets “[ ]” are optional, all other ‘switches’ are required.  Therefore /M, /S, should always be specified on the command line.  Full descriptions for each switch are shown below, they are ordered from most to least frequently used:

Switch

Meaning

/M{Master File}

Master file, considered to be the original.  The Source file is compared against the master file.  See /S{Source File}.

/S{Source File}

Source file is compare against the master.  The source file is typically the file that has been modified  from the original Master.

/I

Ignore case when comparing files.

/W

Ignore whitespace characters (tabs, spaces, etc.) when comparing files.

/E

Ignore empty lines.

/B

Beep when finished doing a file compare.

/X

Exit application when done.

/Q

Do a Quick file compare when comparing files.

/L{Log File} To specify  a log file to log the success or failure of the comparison, use this switch.
/V Verbose mode.  Use this switch to have message box prompt the status of the comparison.

 

/T{Target File}

If you are going to create a report file, this switch must be used and the file name of the output target file must be supplied.

/R#

Report Format: 1 = HTML, 2 = Text, 3 = CSV.  Defaults to HTML. 

/F#

Report Style: 1 = All In One, 2 = Side By Side.  Defaults to Side By Side.

/O

O for Open report when done.  Notepad or Internet Explorer is launched depending on the Report type.

 

/Y#

Excel, master sheet number to compare.  Defaults to 1.

/Z#

Excel, source sheet number to compare.  Defaults to 1.

/A

Excel, Compare formulas in Excel files.

/1

Excel, Select what rows of the Master file to compare.. The syntax is: "1,5-10,20" where commas and dashes indicate single and whole sections of sheets.  Use the "*" to compare all rows.  Defaults to all.

/2

Excel, Select what columns of the Master file to compare.. The syntax is: "1,5-10,20" where commas and dashes indicate single and whole sections of sheets.  Use the "*" to compare all columns.  Defaults to all.

/3

Excel, Select what rows of the Source file to compare.. The syntax is: "1,5-10,20" where commas and dashes indicate single and whole sections of sheets.  Use the "*" to compare all rows.  Defaults to all.

/4

Excel, Select what columns of the Source file to compare.. The syntax is: "1,5-10,20" where commas and dashes indicate single and whole sections of sheets.  Use the "*" to compare all columns.  Defaults to all.

 

/H

HTML compare source code, not textual content.

/???

Not here, ask us, we may be able to accommodate you.