anchor.diff:      echo %0 - Script requires a valid argument!
       goto :EOF
   )
  +
  +cd %IOTIVITY_DIR%
   
   echo Done!
   
  
positive.code: REM We need to append the "PATH" so the octbstack.dll can be found by executables
  IF "%BUILD_MSYS%" == "" (
    set BUILD_DIR=out\windows\amd64\debug
    set PATH=!PATH!;!BUILD_DIR!;
  ) ELSE (
    set BUILD_DIR=out\msys_nt\x86_64\debug
    set PATH=!PATH!;!BUILD_DIR!;C:\msys64\mingw64\bin
  
negative.code: set TEST=1
  set LOGGING=OFF
  set WITH_RD=1
  set ROUTING=EP
  
  set BUILD_OPTIONS= TARGET_OS=%TARGET_OS% TARGET_ARCH=%TARGET_ARCH% RELEASE=0 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=%SECURED% WITH_TCP=0 BUILD_SAMPLE=ON LOGGING=%LOGGING% TEST=%TEST% WITH_RD=%WITH_RD% ROUTING=%ROUTING%
  
  REM *** BUILD OPTIONS ***
  
  if "!CURRENT_ARG!"=="server" (
    cd %BUILD_DIR%\resource\examples
    %DEBUG% simpleserver.exe
  ) else if "!CURRENT_ARG!"=="client" (
    cd %BUILD_DIR%\resource\examples
    %DEBUG% simpleclient.exe
  ) else if "!CURRENT_ARG!"=="mediaclient" (
    cd %BUILD_DIR%\resource\examples
    %DEBUG% mediaclient.exe
  ) else if "!CURRENT_ARG!"=="mediaserver" (
    cd %BUILD_DIR%\resource\examples
    %DEBUG% mediaserver.exe
  ) else if "!CURRENT_ARG!"=="winuiclient" (
    cd %BUILD_DIR%\resource\examples
    %DEBUG% winuiclient.exe
  ) else if "!CURRENT_ARG!"=="occlient" (
    cd %BUILD_DIR%\resource\csdk\stack\samples\linux\SimpleClientServer
    %DEBUG% occlientbasicops.exe -u 0 -t 3 -c 1
  ) else if "!CURRENT_ARG!"=="ocserver" (
    cd %BUILD_DIR%\resource\csdk\stack\samples\linux\SimpleClientServer
    %DEBUG% ocserverbasicops.exe
  ) else if "!CURRENT_ARG!"=="provclient" (
    cd %BUILD_DIR%\resource\csdk\security\provisioning\sample
    %DEBUG% provisioningclient.exe
  ) else if "!CURRENT_ARG!"=="justworks" (
    cd %BUILD_DIR%\resource\csdk\security\provisioning\sample
    %DEBUG% sampleserver_justworks.exe
  ) else if "!CURRENT_ARG!"=="test" (
    %DEBUG% %BUILD_DIR%\resource\csdk\connectivity\test\catests.exe
    %DEBUG% %BUILD_DIR%\resource\csdk\stack\test\stacktests.exe
  