Skip to content

WinMergeU - CLI - Is there any parameter that return a true/false is two files are identical or not #743

Answered by sdottaka
pcakhilnadh asked this question in Q&A
Discussion options

You must be logged in to vote

In the upcoming release 2.16.15, the /enableexitcode command line option will be added.

When this option is specified, the process exit code will be as follows

0: identical
1: different
2: error

start /wait ""  "c:\Program Files\WinMerge\WinMergeU.exe" /enableexitcode c:\dev\winmerge\src\Merge.cpp d:\dev\winmerge\src\Merge.cpp
echo %ERRORLEVEL%

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sdottaka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants