echo off

set semanticmergetool="%~dp0..\..\..\semanticmergetool.exe"

set contributorFiles= -s="%~dp0src.php" -b="%~dp0base.php" -d="%~dp0dst.php"

set resultFile= -r="%~dp0semanticmergetoolresult.php"

set mergeOptions=%contributorFiles%%resultFile%

%semanticmergetool% %mergeOptions%

::  if you want to launch manually instead, you can try the following :-)

::  if you want to launch manually instead, you can try the following from the base directory:-)

::  ..\..\..\semanticmergetool.exe -s=src.php -b=base.php -d=dst.php -r=semanticmergetoolresult.php