Please enable JavaScript to view this site.

Altova DiffDog 2020 Enterprise Edition

The command line options are simple switches and are optional. If not specified, the option is off. For best results, it is recommended that you specify the /cD or /cF option, to explicitly instruct DiffDog that you are comparing either files or directories. Note, however, that, if you use DiffDog as a differencing tool for a source control system, some control systems will not accept additional arguments except the file names.


Although they are organized into groups, the options listed below can appear in any order. The options are not case-sensitive, and you can use either the minus sign (-) or the slash (/) before options. The command line syntax is as follows:


DiffDog.exe [source name1 name2 [name3]] [general options] [compare mode] [compare options] [filter filtername] [directory compare options] [file-filter file filtername]



/cdcompare directories
/cfcompare files


name1 name2:

names of files or directories to compare



name of the third file to compare (applicable only for three-way comparisons, see Three-Way Comparisons).


general options

/hopens the help file


compare mode:

/mEcompare according to extension settings
/mXcompare as XML
/mTcompare as text
/mBcompare binary


compare options:

/dDdetailed differencing
/dLshow differences within lines
/iBignore blank lines
/iCignore case but not in node names
/iCNignore case
/iDignore node depth
/iNignore namespace
ignore node types (Attributes, CData, Comments, Processing Instructions, Doctype, XML declaration)
/iOAignore order of attributes
/iOCignore order of child nodes
/iOC A G groupname T
ignore order of child nodes and add attributes as comparison criteria (All Attributes, Specific Attributes as defined in Group groupname, Add Element Text as Comparison Criteria)
/iPignore prefixes
/iTignore text (XML)
/eresolve entities
/wNnormalize whitespaces
/wSstrip all whitespaces





name of predefined filter


directory compare options:

/iSignore sub-directories



/fDfilter out specific files/directories in directory comparison


file filtername:

name of predefined file-filter


Note:Some Comparison Options apply to XML Comparison Mode only (for example, /dD, /iN and /iNT). These options will therefore be ignored if the [compare mode] option is not /mX.

© 2019 Altova GmbH