WinMerge exit code 1

Get help for specific problems
Posts: 2
Joined: 21 May 2020

Ulfius

Ever since 10.23, I receive this error when trying to use WinMerge.

Exit code 1: 'WinMergeU.exe' is not recognized as an internal or external command,
operable program or batch file. [WinMergeU.exe "%local_path%" "%local_path2%"]

WinMerge works from the command line and it works if I go back to 10.22. Trying the "& exit 0" workaround stops the error but doesn't start WinMerge.
Posts: 290
Joined: 13 Apr 2017

Gianni1962

Try adding the full path to where WinMergeU.exe is located.

If you are using the 32 bit version on a 64 bit system:
"C:\Program Files (x86)\WinMerge\WinMergeU.exe"

Otherwise:
"C:\Program Files\WinMerge\WinMergeU.exe"
Posts: 2
Joined: 21 May 2020

Ulfius

The full path works, but something changed in 10.23 that caused it to stop working without the full path.
Posts: 290
Joined: 13 Apr 2017

Gianni1962

You are right, take a look at this discussion:

Run a command on completion