anchor.diff:  )
   goto eof
   
  +set numCheckRept=0
   
   :status 
   IF EXIST .\logs\pid.dat (
   
  -		  set /p pid=< .\logs\pid.dat  
  +		  set /p pid=< .\logs\pid.dat 
  +
  +		  IF %numCheckRept% EQU 0 (
  +		  	 set /A numCheckRept=numCheckRept+1
  +		  	 goto status
  +		  )
  +
   		  IF "%pid%" == "" (
   		  		echo No server running.
   		  )ELSE (
  
positive.code: :stop
  IF EXIST .\logs\pid.dat (
  
  		  set /p pid=< .\logs\pid.dat  
  		  IF "%pid%" == "" (
  		  		echo No server running.
  		  )ELSE (
  
negative.code: @echo off
  
  set numArgs=0
  
  for %%x in (%*) do Set /A numArgs+=1
  
  IF %1 == start (
  