anchor.diff:      set BASEDIR=%XPBASE%
       set chk=chk
       set fre=fre
  -	goto buildswitchdone
  +    set ddk=XP
  +    goto buildswitchdone
   ) 
   
  +rem 64bit xp
   if /I "%1" EQU "-XP64" (
       set w2kflag=W2K
       shift
  
positive.code: @echo off
  rem $Header$
  set version=3.5.6
  @echo DDBUILD VERSION %version% FREEWARE FROM HOLLIS TECHNOLOGY SOLUTIONS
  @echo Comments? Suggestions? info@hollistech.com
  
  set scriptDebug=off
  
negative.code: 
  goto :EOF
  
  rem ================
  rem the latest and greatest ddkbuild
  rem ================
  
  :ddkbuild
  
  if "%1" == "-debug" shift
  
  set w2kflag=
  rem ================
  rem NOTE: w2kflag appears to be somewhat obsolete,
  rem at best it is either null or non-null.
  rem buildbsc may use its value, but the setting of 
  rem that value is inconsistent.
  rem ================
  
  set chk=checked
  set fre=free
  set xp64=
  set xp2k=0
  set wnet=
  set wlh=
  set ddk=UNKNOWN
  set mode=
  
  
  if "%1" EQU ""     goto usage
  if /I %1 EQU -h  goto usage
  if /I %1 EQU -help goto usage
  
  rem test for all known ddk variations
  
  rem =========================
  rem W2K DDK Support (Obsolete)
  rem =========================
  
  rem 64bit w2k
  if /I "%1" EQU "-W2K64" (
      set w2kflag=W2K64
      if "%W2K64BASE%" EQU "" goto NoW2k64Base
      set BASEDIR=%W2K64BASE%
      set ddk=W2K
      shift
      goto buildswitchdone
  ) 
  
  rem regular w2k
  if /I "%1" EQU "-W2K" (
      set w2kflag=W2K
      shift
      if "%W2KBASE%" EQU "" goto NoW2kBase
      set BASEDIR=%W2KBASE%
      set ddk=W2K
      goto buildswitchdone
  )
  
  rem =========================
  rem XP DDK Support (Obsolete)
  rem =========================
  
  rem regular xp
  if /I "%1" EQU "-XP" (
      set w2kflag=W2K
      shift
  