anchor.diff: +@ECHO OFF
  +
   SET bin_dir=%~dp0
   SET TOP_DIR=%bin_dir%\..\..
  +PUSHD "%TOP_DIR%"
  +SET TOP_DIR=%CD%
  +POPD
   SET INSTALL_DIR=%~f1
   SET PORT=%2
   SET zk=zookeeper-3.4.6
  
positive.code: SET ZK_SRC_CONFIG=%ZOOKEEPER_HOME%\conf\zoo_sample.cfg
  SET ZK_DST_CONFIG=%ZOOKEEPER_HOME%\conf\zoo.cfg
  
  ECHO # GENERATD BY rDSN SCRIPT > %ZK_DST_CONFIG%
  
  for /F  %%A in (%ZK_SRC_CONFIG%) do (
      SET "line=%%A"
      setlocal enabledelayedexpansion    
      set "line=!line:2181=12181!"
      if defined line (
          echo(!line! >> %ZK_DST_CONFIG%
      )
      endlocal
  )
  
  @mkdir %ZOOKEEPER_HOME%\data
  
  REM powershell -command "Start-Process %ZOOKEEPER_HOME%\bin\zkServer.cmd"
  powershell -command "Start-Process -FilePath cmd.exe  -ArgumentList '/C title zk-%PORT%-%ZOOKEEPER_HOME%\bin\zkServer.cmd&&%ZOOKEEPER_HOME%\bin\zkServer.cmd'"
  
  REM CALL start cmd.exe /k "title zk-%PORT%&& %ZOOKEEPER_HOME%\bin\zkServer.cmd"
  
  popd
  
  GOTO exit
  
  
negative.code:     GOTO:EOF
      
  :exit
      EXIT /B 0