Opening a Diff Window

Synopsis

diffmerge [-caption=caption] [-ro2] [-shex] [-t1=title1] [-t2=title2] {file1} [file2]

Opens a File Diff Window with the given files. If only one file is given, you will be prompted for the second. File1 will appear in the left panel; file2 will appear in the right panel.

If you do not specify /ro2, file2 will be editable and you can apply patches to it from file1.

diffmerge [-caption=caption] [-shex] [-t1=title1] [-t2=title2] {folder1} [folder2]

Opens a Folder Diff Window with the given folders. If only one folder is given, you will be prompted for the second. Folder1 will appear in the left panel; folder2 will appear in the right panel.

Flags

-c, -caption=message

A caption for the application title bar of the first window.

-ro2

Treat file2 as read-only.

-shex (Windows only)

This is used by the Windows Shell/Explorer Integration feature. This option forces the Open Files or Folders dialog to appear (even when not necessary) before opening the first window to allow you the opportunity to swap the pathnames if necessary.

-t1, -title1=message

Sets the File Panel Lable for the first file/column.

-t2, -title2=message

Sets the File Panel Lable for the second file/column.

Exit Status

Always exits with exit status OK (0) or SYNTAX-ERROR (3).