I'm calling a BeyondCompare script from a NAnt script. It compares Folder A with Folder B and copies diffs to Folder B. However, BCompare.exe would fail and return code 100, which is Unknown. Note that if I manually run the BeyondCompare script from the command-line then it works. Below is my script. What am I doing wrong?
criteria binary version timestamp
expand all
load "C:\Folder A" "C:\Folder B"
select left.newer.all left.older.all left.diff.all left.orphan.all
copyto left path:base "C:\Folder B"
criteria binary version timestamp
expand all
load "C:\Folder A" "C:\Folder B"
select left.newer.all left.older.all left.diff.all left.orphan.all
copyto left path:base "C:\Folder B"
Comment