anchor.diff:  :x86
   SET "INCLUDE=%WDKBASEDIR%\inc\crt;%WDKBASEDIR%\inc\api;%WDKBASEDIR%\inc\api\crt\stl60;%WDKBASEDIR%\inc\ddk"
   SET "LIB=%WDKBASEDIR%\lib\crt\i386;%WDKBASEDIR%\lib\win7\i386"
  -SET "FPATH=%WDKBASEDIR%\bin\x86;%WDKBASEDIR%\bin\x86\x86;%SDKDIR%\Bin"
  -SET "PATH=%FPATH%"
  +SET "PATH=%WDKBASEDIR%\bin\x86;%WDKBASEDIR%\bin\x86\x86;%SDKDIR%\Bin"
   
   IF /I "%ARCH%" == "x64" GOTO :x64
   
  
positive.code: IF /I "%2" == "/all" SET ARCH=all&&GOTO :START
  IF /I "%2" == "-all" SET ARCH=all&&GOTO :START
  IF /I "%2" == "--all" SET ARCH=all&&GOTO :START
  IF /I "%2" == "Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%2" == "/Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%2" == "-Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%2" == "--Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%2" == "Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%2" == "/Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%2" == "-Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%2" == "--Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%2" == "Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%2" == "/Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%2" == "-Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%2" == "--Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  ECHO.
  ECHO:"%2": Unsupported commandline switch!
  ECHO:Run "build.cmd help" for details about the commandline switches.
  CALL :SUBMSG "ERROR" "Compilation failed!"
  
  
  :START
  IF /I "%BUILDTYPE%" == "" SET BUILDTYPE=Build
  IF /I "%ARCH%" == "" SET ARCH=all
  IF /I "%BUILDTYPE%" == "Clean" GOTO :x86
  PUSHD ..
  CALL "update_version.bat"
  POPD
  
negative.code: IF /I "%1" == "/Rebuild" SET BUILDTYPE=Rebuild&&GOTO :CHECKSECONDARG
  IF /I "%1" == "-Rebuild" SET BUILDTYPE=Rebuild&&GOTO :CHECKSECONDARG
  IF /I "%1" == "--Rebuild" SET BUILDTYPE=Rebuild&&GOTO :CHECKSECONDARG
  ECHO.
  ECHO:Unsupported commandline switch!
  ECHO:Run "build.cmd help" for details about the commandline switches.
  CALL :SUBMSG "ERROR" "Compilation failed!"
  )
  
  
  :CHECKSECONDARG
  rem Check for the second switch
  IF "%2" == "" (
  SET ARCH=all
  ) ELSE (
  IF /I "%2" == "x86" SET ARCH=x86&&GOTO :START
  IF /I "%2" == "/x86" SET ARCH=x86&&GOTO :START
  IF /I "%2" == "-x86" SET ARCH=x86&&GOTO :START
  