Empower yourself with File compare tools from Softinterface.

Word Doc Diff Excel Command Line Examples

 

WordDocDiff Home

Excel Examples

Document Examples

WDD Document Comparison Command Line Examples

(Command Line or GUI Driven file comparison)

(Windows 10, 8, 7, Vista, XP, 2000, NT, 64 & 32 bit)

Below are portions from  a sample batch file, WDD_EXAMPLES.BAT, which is included in the installation directory.   Examples below are used to compare Word files.

You can include or exclude spaces between switches and parameters.  For example,  "/F1" is the same as "/F  1".  For long file names you may be required to use double quotes.  For example /S"C:\Program Files\MyApp\MyDoc.DOC".

 

Select an example that matches your needs closest and modify accordingly.

:=====================================================================

: WordDocDiff (WDD) Example Batch File. (WWW.SoftInterface.COM)

:

: Find the example closest to your needs and modify accordingly.

: EXAMPLES 1 - 5, File Comparison

:    EXAMPLE 1 (Compare 2 Files, Show Side by Side)

:    EXAMPLE 2 (Compare 2 Files, Show All In One)

:    EXAMPLE 3 (Compare 2 Files, Show All In One, Create HTML Report

:                Exit when done)

:    EXAMPLE 4 (Compare 2 Files, Create Text File Report

:                Exit when done)

:    EXAMPLE 5 (Compare 2 Files, Create CSV Report

:                Exit when done)

:

: NOTE: For long file paths use double quotes,

:       i.e. /L"D:\Long Path\A.XLS"

:

:=====================================================================

 

:----------------------------------------------------------------------

:    EXAMPLE 1 (Compare 2 Files, Show Side By Side)

:

: Compare "D:\A\Aristotle.TXT" to "D:\A\Socrates.TXT":

:                /M d:\a\Aristotle.TXT /S d:\a\Socrates.TXT

: Create Log file D:\a\Compare.LOG:  /L D:\a\Compare.LOG

:----------------------------------------------------------------------

 

WDD  /M d:\a\Aristotle.TXT /S d:\a\Socrates.TXT /L D:\A\compare.LOG

 

:----------------------------------------------------------------------

:    EXAMPLE 2 (Compare 2 Files, Show All In One)

:

: Compare "D:\A\Aristotle.DOC" to "D:\A\Socrates.DOC":

:                /M d:\a\Aristotle.TXT /S d:\a\Socrates.TXT

: Show All In One: /F1

: Create Log file D:\a\Compare.LOG: /L D:\a\Compare.LOG

:----------------------------------------------------------------------

 

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

 

:----------------------------------------------------------------------

:    EXAMPLE 3 (Compare 2 Files, Show All In One, Create HTML Report

:                Exit when done)

:

: Compare "D:\A\Aristotle.DOC" to "D:\A\Socrates.DOC":

:                /M d:\a\Aristotle.DOC /S d:\a\Socrates.DOC

: Show All In One: /F1

: Create HTML Report,file name "D:\a\Report.HTM" : /R1 /T D:\a\Report.HTM

: Open Report: /O

: Create Log file D:\a\Compare.LOG:  /L D:\a\Compare.LOG

: Exit when done: /X

:----------------------------------------------------------------------

 

WDD  /M d:\a\Aristotle.DOC /S d:\a\Socrates.DOC /F1 /R1 /T D:\a\Report.HTM /O /L D:\A\compare.LOG /X

 

:----------------------------------------------------------------------

:    EXAMPLE 4 (Compare 2 Files, Create Text File Report

:                Exit when done)

:

: Compare "D:\A\Aristotle.DOC" to "D:\A\Socrates.DOC":

:                /M d:\a\Aristotle.DOC /S d:\a\Socrates.DOC

: Show All In One: /F1

: Create HTML Report,file name "D:\a\Report.TXT" : /R2 /T D:\a\Report.TXT

: Open Report: /O

: Create Log file D:\a\Compare.LOG:  /L D:\a\Compare.LOG

: Exit when done: /X

:----------------------------------------------------------------------

 

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

 

:----------------------------------------------------------------------

:    EXAMPLE 5 (Compare 2 Files, Create CSV Report

:                Exit when done)

:

: Compare "D:\A\Aristotle.DOC" to "D:\A\Socrates.DOC":

:                /M d:\a\Aristotle.DOC /S d:\a\Socrates.DOC

: Show All In One: /F1

: Create HTML Report,file name "D:\a\Report.CSV" : /R2 /T D:\a\Report.CSV

: Open Report: /O

: Create Log file D:\a\Compare.LOG:  /L D:\a\Compare.LOG

: Exit when done: /X

:----------------------------------------------------------------------

 

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

 

 Download Now 

Buy Now