anchor.diff:  
   goto :EOF
   
  -rem
  -rem
  +rem ================
   rem the latest and greatest ddkbuild
  -rem
  -rem
  +rem ================
  +
   :ddkbuild
  -if "%1" EQU "-debug" shift
  -
  -@echo %scriptDebug%
  +
  +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 /?    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%
  -    shift
  -	goto buildswitchdone
  +    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%
  -	goto buildswitchdone
  -)
  -
  +    set ddk=W2K
  +    goto buildswitchdone
  +)
  +
  +rem =========================
  +rem XP DDK Support (Obsolete)
  +rem =========================
  +
  +rem regular xp
   if /I "%1" EQU "-XP" (
       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 usage
  
  :ErrNoBASEDIR
  @echo error: BASEDIR environment variable not set, reinstall DDK!
  goto usage
  
  :NoW2kBase
  @echo error: W2KBASE environment variable not set!
  goto usage
  
  :NoW2k64Base
  @echo error: W2K64BASE environment variable not set!
  goto usage
  
  :NoXPBase
  @echo error: XPBASE environment variable not set!
  goto usage
  
  :NoWNBase
  @echo error: WNETBASE environment variable not set!
  goto usage
  
  :NoWLHBase
  @echo error: WLHBASE environment variable not set!
  goto usage
  
  :ErrnoDir
  @echo Error: second parameter must be a valid directory
  goto usage
  
  :BadTarget
  @echo Error: invalid TARGET specified
  goto usage
  
  :usage
  start http:\\www.hollistech.com\Resources\ddkbuild\ddkbuildhelp3_9.htm
  
  @echo usage: ddkbuild [-debug] "TARGET" "checked | free" "directory-to-build" [flags] 
  @echo.
  @echo        -debug     turns on script echoing for debug purposes
  @echo.
  @echo        TARGET     can be any of the following combinations of DDK and target platform:
  @echo.
  @echo        -W2K       indicates development system uses W2KBASE environment variable
  @echo                    to locate the win2000 ddk, otherwise BASEDIR is used (optional.)
  @echo.
  @echo        -W2K64     indicates development syatem uses W2K64BASE environment variable
  @echo                    to locate the win2000 64 ddk, otherwise BASEDIR is used (optional.)
  @echo.
  @echo        -XP        indicates development system uses XPBASE environment variable
  