anchor.diff:  
   
   :javaerror
  -	echo JAVA_HOME environment variable not set. Please set it and start Magnet Message again.
  +	echo JAVA_HOME environment variable not set. Please set it and start %PROGNAME% again.
   	exit 1
   goto :eof
   
  
positive.code: @echo off
  
  setlocal
  
  rem Change the following if it has been changed to use another port
  set PORT_TO_CHECK=9090
  
  set check_port=true
  set TITLE="MagnetMessage"
  set PROG=mmx-server
  set OPENFIRE_HOME=%CD%\..
  
  
  if "%selfWrapped%"=="" (
    SET selfWrapped=true
    %ComSpec% /s /c ""%~0" %*"
    GOTO :EOF
  )
  
  if "-p"=="%1" (
  	set check_port=false
  
negative.code: 		taskkill /f /pid !pid! /t >nul
  		del .\%PROG%.pid
  	) else (
  		echo %PROGNAME% is not running
  	)
  	endlocal
  goto :end
  