Command Line Syntax #1675
Replies: 2 comments 6 replies
-
It is only possible to return the comparison result with the process exit status code. Using the command line options /enableexitcode and /noninteractive, WinMerge will exit as soon as the comparison is finished and the ERRORLEVEL environment variable will be set to the comparison result.
|
Beta Was this translation helpful? Give feedback.
-
Thanks SDotTaka. Really appreciate your help as always. This worked for me but I had to remove the space before Echo. The
Yes, I agree:
I might have misunderstood your explanation earlier and thought that it would return the comparison results in the form of the actual differences and items. But I believe you mean the return code above right? |
Beta Was this translation helpful? Give feedback.
-
I usually compare folders with command line syntax. When I run like 10 of these in a row, they all open in the same WinMerge instance.
Questions:
Is it possible to open only those that have differences?
Or
if it does open, is it possible to close all tabs that are identical (or have NO differences)?
Or
Get a return code if it is identical or differences?
In other words, when I run the command line syntax, I only care about the one that are different and then it needs to open in WinMerge. If it is identical, just ignore and return a return code that it is identical. Right now, I have to press Esc to close it.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions