anchor.diff:  xcopy %location%src\*.h* %location%\release\vs2012\files\src /S /y
   :archive the files directory and put it in the release directory
   echo creating release archive
  -cd %location%release\vs2012\files%location%7z.exe a -tzip -r %location%\release\vs2012\release\tightdb_cpp_VS2012_%xdatex%_%xtimex%_%xdeveloperx% *.*
  +set releasefilename=%location%\release\vs2012\release\tightdb_cpp_VS2012_%reldate%_%reltime%_%reldeveloper%
  +echo release file name set to %releasefilename%
  +cd %location%release\vs2012\files
  +echo %location%7z.exe a -tzip -r %location%release\vs2012\release\%releasefilename% *.*
  +%location%7z.exe a -tzip -r %releasefilename% *.*
   :revision history
   :0.01 
   :First version. still needs to set up date time and developer environment variables correctly
  
positive.code: :0.02 language rewritten for clarity
  :0.02 7zip now called so that it makes a .zip file instead of a 7z file
  :0.02 file renamed to winrelease.bat from build.bat
  :0.03 file renamed to winrelease.cmd from winrelease.bat
negative.code: @echo off
  echo Tightdb core c++ binding Windows Release.
  Echo beta 0.1
  echo ----------------------------------------------------------
  echo In general, relase.cmd will create release directories
  echo with release versions of the already built solution in the
  echo same directory as where the solution file is.
  echo The release version will be placed in a directory called
  echo release, in two sub directories files\ and release\
  echo files\ will be an uncompressed release of all needed files
  echo laid out in a logical way, and release\ will contain
  echo a zipped version of the files\directory - named according
  echo to the time the winrelease.cmd file was run
  echo the zipfile will also contain the username from the
  echo computer that generated the zipfile
  echo only the release\files directory is needed by c++ binding 
  echo developers (on windows, using VS2012 c++)
  echo the zip file in release\vs2012\release can be shipped to
  echo c++ binding users and coders of bindings to other languages
  echo on the windows platform.
  echo ----------------------------------------------------------
  echo parameters (%0)
  echo where this file is located (%~dp0)
  set location=%~dp0
  set reldate=%date:~6,4%-%date:~3,2%-%date:~0,2%
  set reltime=%time::=%
  set reltime=%reltime: =%
  set reltime=%reltime:,=%
  set reldeveloper=%USERNAME: =%
  set reldeveloper=%reldeveloper:,=%
  echo this batchfile is located at %location%
  echo -
  echo - release date will be set to %reldate%
  echo - release time will be set to %reltime%
  echo - release user will be set to %reldeveloper%
  echo -
  echo Press Any key to proceed, or close the window to abort
  pause
  