anchor.diff:  )
   
   if "%mode%" EQU "" goto ErrBadMode
  -
  -if "%2" EQU "" goto ErrNoDir
  -
  -if not exist %2 goto ErrNoDir
  +shift
  +
  +if "%1" EQU "" goto ErrNoDir
  +if not exist %1 goto ErrNoDir
  +set buildDir=%1
  +shift
   
   set batfile=%BASEDIR%\bin\setenv.bat
   if "%xp2k%" EQU "1" set batfile=%BASEDIR%\bin\w2k\set2k.bat
   
  +rem =====================
  +rem invoke the DDK's setenv script
  +rem =====================
  +
   pushd .
   if "%w2kflag%" NEQ "" (
   
  -	call %batfile% %BASEDIR% %mode% %xp64%
  +	call %batfile% %BASEDIR% %mode% %xp64% %wnet%
   
   ) else (
   
  
positive.code:     set BASEDIR=%XPBASE%
      set chk=chk
      set fre=fre
  	goto buildswitchdone
  ) 
  
  if /I "%1" EQU "-XP64" (
      set w2kflag=W2K
      shift
  
negative.code: ) else (
      set foo=cat
  )
  if %foo% EQU dog goto :nt4ddkbuild   
  
  if /I "%1" EQU "/?"    goto usage   
  
  rem next test, some shells is different
  setlocal enabledelayedexpansion 
  