anchor.diff:  ECHO.
   ECHO.
   ECHO:Executing "build.cmd" will use the defaults: "build.cmd build all"
  -ECHO:If you skip the second argument the default one will be used. Example:
  -ECHO:"build.cmd rebuild" is equivalent to "build.cmd rebuild all"
  -ECHO:NOTE: "build.cmd x86" won't work.
  +ECHO:If you skip an argument the default one will be used.
  +ECHO.
  +ECHO:Examples:
  +ECHO:  "build.cmd rebuild" is equivalent to "build.cmd rebuild all"
  +ECHO:  "build.cmd x86" is equivalent to "build.cmd build x86"
   ECHO.
   ENDLOCAL
   EXIT /B
   
   :CHECKFIRSTARG
   REM Check for the first switch
  -IF "%1" == "" (
  -SET BUILDTYPE=Build
  -) ELSE (
  +IF "%1" == "" SET BUILDTYPE=Build&&GOTO :CHECKSECONDARG
   IF /I "%1" == "Build" SET BUILDTYPE=Build&&GOTO :CHECKSECONDARG
   IF /I "%1" == "/Build" SET BUILDTYPE=Build&&GOTO :CHECKSECONDARG
   IF /I "%1" == "-Build" SET BUILDTYPE=Build&&GOTO :CHECKSECONDARG
  
positive.code: ECHO.
  ECHO:Usage:  build.cmd [Clean^|Build^|Rebuild] [x86^|x64^|all]
  ECHO.
  ECHO:You can use prefix the commands with "-", "--" or "/"
  ECHO.
  ECHO.
  ECHO:Edit "build.cmd" and set your WDK and SDK directories.
  
negative.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"
  