anchor.diff:  @echo off
   
  +rem Please change .\startup.properties if you would like to use ports other than the default ones.
  +rem For detail, please reference the troubleshooting guide.
  +
   setlocal
  -rem Change the following if it has been changed to use another port
  -set PORT_TO_CHECK=3000
  -
  -set check_port=true
  -set TITLE="MagnetMessageConsole"
  -set PROG="mmx-console"
  -set whichnode=bundle
  -
   
   if "%selfWrapped%"=="" (
     SET selfWrapped=true
     %ComSpec% /s /c ""%~0" %*"
     GOTO :EOF
   )
  +
  +set check_port=true
  +set TITLE="Administrationwebinterface"
  +set PROGNAME="Administration web interface"
  +set PROG="mmx-console"
  +set whichnode=bundle
  +
  +
  +
  +call :check2Args %*
  +
  +call :loadPorts ..\startup.properties
   
   if "-p"=="%1" (
   	set check_port=false
  
positive.code: 
  :start
  	if %check_port%==true (
  		call :check_ports
  		echo. 
  	)
  	call :check_node
  
  	if exist %PROG%.pid (
  		echo.
  		echo Error! Magnet Message console is already running or you have a stale pid file. If Magnet Message console is not running, then please delete mmx-standalone-dist-win\console\mmx-console.pid file and try again.
  		exit 1
  	)	
  	if bundle==%whichnode% (
  		start %TITLE% .\node start.js
  	) else ( 
  		start %TITLE% node start.js
  	)
  	timeout /t 3 >nul
  	FOR /F "usebackq tokens=2" %%i IN (`tasklist /nh /fi "WINDOWTITLE eq %TITLE%"`) DO echo %%i > .\%PROG%.pid
  goto :end
  
  
  
  :check_ports
  	netstat -aon | findstr "%PORT_TO_CHECK%" 1>NUL
  	if %ERRORLEVEL% equ 0 (
  		echo.
  		echo Error! TCP port "%PORT_TO_CHECK%" is already in use; thus, cannot start Magnet Message. Please refer to readme.htm on how to change the ports.
  		exit 1
  	)
  	echo Using ports "%PORT_TO_CHECK%"
  goto :eof
  
  
  
negative.code: 		taskkill /f /pid !pid! /t >nul
  		del .\%PROG%.pid
  	) else (
  		echo %PROGNAME% is not running
  	)
  	endlocal
  goto :end
  