anchor.diff:  @echo off
   :: Launch FindBugs GUI on a Windows system.
   :: Adapted from scripts found at http://www.ericphelps.com/batch/
  +:: This will only work on Windows NT or later!
   
   :: ----------------------------------------------------------------------
   :: Set up default values
  
positive.code: :: ----------------------------------------------------------------------
  :launch
  :: Make sure FINDBUGS_HOME is set.
  if [%FINDBUGS_HOME%]==[] goto homeNotSet
  
  :: Try to remove quote characters from FINDBUGS_HOME and jvmargs.
  :: This will only work on Windows NT and later systems.
  if [%OS%]==[Windows_NT] set FINDBUGS_HOME=%FINDBUGS_HOME:"=%
  if [%OS%]==[Windows_NT] set jvmargs=%jvmargs:"=%
  
  :: echo FINDBUGS_HOME is %FINDBUGS_HOME%
  :: echo appjar is %appjar%
  
negative.code: 
  :loop
  
  :: Remove surrounding quotes from %1 and %2
  set firstArg=%~1
  set secondArg=%~2
  
  if "%firstArg%"=="-gui" set appjar=findbugsGUI.jar
  if "%firstArg%"=="-gui" goto shift1
  
  if "%firstArg%"=="-textui" set appjar=findbugs.jar
  if "%firstArg%"=="-textui" goto shift1
  
  if "%firstArg%"=="-home" set FINDBUGS_HOME=%secondArg%
  if "%firstArg%"=="-home" goto shift2
  
  if "%firstArg%"=="-jvmArgs" set jvmargs=%secondArg%
  if "%firstArg%"=="-jvmArgs" goto shift2
  
  if "%firstArg%"=="-help" goto help
  
  if "%firstArg%"=="" goto launch
  
  set args=%args% "%firstArg%"
  goto shift1
  
  :: ----------------------------------------------------------------------
  