16. Commandline

WinMerge can be also used from commandline. There are several commandline switches to ease using WinMerge as external merge/diff application.

Syntax for commandline is:


WinMerge [/r] [/e] [/f filter] [/ul] [/ur] [/ub] [/wl] [/wr] [/dl leftdesc] [/dr rightdesc] leftpath rightpath [outputpath]
Note

leftpath and rightpath both has to be files or both has to be directories

If both paths are not files or directories or one of paths is non-existant WinMerge shows Open-dialog for user to choose proper paths to open.