HOME

EXAMDIFF PRO

FTPVC

BLOG

FORUMS

NEWS

SUPPORT

ABOUT US

TRY NOW

BUY NOW

Online Help

ExamDiff Pro

• Overview

• Features

• Benefits

• Screenshots

• Info Card

• Download  Download ExamDiff Pro

Ordering

• Purchase  Buy ExamDiff Pro

• Price

Users and Reviews

• Testimonials

• Awards

• Corporate Clients

For Current Users

• History

• Wish List

• Plug-ins

Support

• Online Help

• Tutorials  Video tutorials available

• FAQ

Command Line Options

Syntax

ExamDiff [Name1] [Name2] [Options]
or
ExamDiff /se:Session [Name1] [Name2]
or
ExamDiff /sf:SessionFile

Parameters

Name1, Name2 names of files or directories to be compared
Session name of the session to be used for comparison
SessionFile name of the session file to be used for comparison
Options are any of the following:
/i ignore case
/w ignore all white space in lines
/b ignore changes in amount of white space in lines
/l ignore leading white space in lines
/e ignore trailing white space in lines
/k ignore blank lines
/j:RE ignore lines matching regular expression RE
/br briefly report whether files/directories differ
/t treat both files as text files
/tb treat both files as binary files
/d use view filter
/q:M set tab size to M characters
/s consider files with same size and timestamp identical
/ic consider files with same CRC identical
/y consider files with different sizes different
/u consider files with different attributes different
/z consider files with different timestamps different
/dc consider files with different CRC values different
/dv consider files with different versions different
/r0 do not compare subdirectories at all
/r1 compare subdirectories only to determine their status
/r2 compare subdirectories recursively
/fi:filter specify include filter for directory comparison
/fx:filter specify exclude filter for directory comparison
/f report file differences during directory comparison (used with /o option and with full file comparison, i.e. without any "consider" options)
/n don't show initial "Compare" dialog
/sd always show initial "Compare" dialog, even if two filenames are used
/a:N scroll through all differences with N second delay and exit after the last difference
/o:file output diff results into a file 'file' (or to standard output if '-' is specified) and exit
/no do not generate output file if no diffs are found
/append append to existing output file (used with /o option; default -- replace existing output file)
/html output HTML diff report (used with /o option; default -- text diff format; does not work with standard output and/or with /f or /append options)
/p[:printer] print diff report to default or specified printer and exit
/c print file diffs when printing directory diff report
/x read-only mode
/g:file load ExamDiff Pro options from an options file
/ff force initial file comparison dialog
/fd force initial directory comparison dialog
/swap swap first and second file/directory
/sn1:file use this name when you save the first file
/sn2:file use this name when you save the second file
/nh do not add files or directories to comparison history
/dn1:name use this as the first file/directory caption
/dn2:name use this as the second file/directory caption
/?,/h print this screen

Return Value

0 if files/directories are identical
1 if files/directories are different
2 if an error occurred

Remarks

  • Options may be entered before or after names of files or directories. Use // to specify that no more options will be entered in command line.
  • If only /se:Session is specified, session's file/directory names and options will be used, even if some other options are also specified (they will be ignored.)
    If the /se:Session option is specified along with file/directory names, specified names will be used, along with the options from the session (even if other options are specified in command line).
    If no session is specified, the unnamed default session will be used.
  • If /sf:SessionFile is specified, the session file's file/directory names and options will be used, even if some other options are also specified (they will be ignored.)
  • Options /i, /w, /b, /l, /e, /k, /j, /br, /d, /s, /y, /u, /z, /dc, /dv and /c can be used with "!", in which case the option will be negated (e.g. /!i means do not ignore case).
    If options /i, /w, /b, /l, /e, /k, /j, /br, /d, /s, /y, /u, /z, /dc, /dv, /c (or their negations), /t, tb, /r0, /r1, /r2, /fi, or /fx are not set, the last used options in the specified or default session remain in effect.
  • Command line options are in effect only for the duration of the current comparison. If the Options dialog is invoked, matching command line options will used to initialize the dialog.

Examples

  • ExamDiff c:\temp\a.txt c:\temp\b.txt /o:-
  • ExamDiff c:\temp\dir1 c:\temp\dir2 /d /fi:*.txt
  • ExamDiff c:\temp\dir1 c:\temp\dir2 /se:Unicode
  • ExamDiff // -a.txt -b.txt

Contents|Index