WinMergeU - CLI - How to get the output of two file comparision in command line arguments? #731
-
Hi There, I am trying to compare two text documents based on the documentation using command-line arguments as follows
The output opens in a UI screen. I wanted the comparison result to be shown on the commandline or in a output file. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
WinMerge can output the comparison result to an HTML file. To output the comparison result to an HTML file, use the -or option as shown below.
If you don't want to see the WinMerge window, specify -noninteractive as follows:
|
Beta Was this translation helpful? Give feedback.
-
@sdottaka I am looking for a solution where I can compare two folders and get the individual file comparison reports in another folder. I am unable to find options for this. "C:\Program files\winmerge\WinMergeU.exe" "C:\Users\12513\Desktop\source" "C:\Users\12513\Desktop\modified" /r /e /x /s /u /wl /e /unpacker "PrettifyXML" /maximize /minimize /or "C:\Users\12513\Desktop\Result\compare.htm" Can you please let me know if there are any options? |
Beta Was this translation helpful? Give feedback.
-
Are there any pre-requisite for using winmerge on commandline @sdottaka ? because I tried this command "C:\Program Files (x86)\WinMerge\WinMergeU.exe" -noninteractive D:\Projects\document1.txt D:\Projects\document2.txt -or D:\Projects\comparison_report.html but it still opens winmerge UI and report doesn't gets created or saved |
Beta Was this translation helpful? Give feedback.
WinMerge can output the comparison result to an HTML file. To output the comparison result to an HTML file, use the -or option as shown below.
If you don't want to see the WinMerge window, specify -noninteractive as follows: