anchor.diff:  REM === Edit lines below only if absolutely sure what you're doing ===
   
   rem Get command line options
  +set SCRIPTS_PATH=%~dp0
  +
   :loop
   IF NOT "%1"=="" (
       IF "%1"=="-c" set COMM_PORT=%2& SHIFT & SHIFT & GOTO :loop
  
positive.code:     echo.   If the specified serial port is not found, it will ask to enter another one.
      echo.   The script also tries to reestablish connection if it was lost.
  goto:eof
  
  
negative.code: )
  
  rem Create exe
  if not exist %SCRIPTS_PATH%\com2tcp.exe (
      copy %SCRIPTS_PATH%\com2tcp.bin %SCRIPTS_PATH%\com2tcp.exe
  )
  
  rem Do the job
  