anchor.diff:  
   REM Create ZIP file using Info-ZIP
   REM http://www.info-zip.org/Zip.html
  -echo Zipping - be sure to have zip.exe in your path or you will get an error below
  -zip -r %ZIPNAME%.zip %WORKDIR%
  +REM echo Zipping - be sure to have zip.exe in your path or you will get an error below
  +REM zip -r %ZIPNAME%.zip %WORKDIR%
  +
  +echo Zipping using 7-zip (http://www.7-zip.org/)
  +7z u -r %ZIPNAME%.zip %WORKDIR%
  +if %ERRORLEVEL% neq 0 (
  +    echo ** Unable to build the archive. 
  +    echo ** Make sure folder containing 7z.exe is added to PATH.
  +)
  +
   echo Cleaning up work directory
   rd /S /Q %WORKDIR%
   echo Done.
  +
  +REM add this to the end of the file
  +:EOF
  +
  +
  
positive.code: mkdir %WORKDIR%\lib
  mkdir %WORKDIR%\include
  mkdir %WORKDIR%\include\freespace
  rem Build, but don't distribute debug versions. This avoids people doing
  rem reasonable things that won't work like not installing the DDK or 
  rem debugging under different compilers. 
  rem mkdir %WORKDIR%\lib\Debug
  mkdir %WORKDIR%\lib\Release
  echo Copying DLLs and LIBs
  rem copy win32\%VS_VERSION%\Debug\libfreespaced.lib %WORKDIR%\lib\Debug
  rem copy win32\%VS_VERSION%\Debug\libfreespaced.dll %WORKDIR%\lib\Debug
  copy win32\%VS_VERSION%\Release\libfreespace.lib %WORKDIR%\lib\Release
  copy win32\%VS_VERSION%\Release\libfreespace.dll %WORKDIR%\lib\Release
  echo Copying header files
  
negative.code: SET WORKDIR=libfreespace
  SET ZIPNAME=libfreespace-%RELEASE_VERSION%-win32
  
  REM This must be run from the Visual Studio Command Prompt
  devenv win32\%VS_VERSION%\libfreespace.sln /clean release
  devenv win32\%VS_VERSION%\libfreespace.sln /clean debug
  devenv win32\%VS_VERSION%\libfreespace.sln /build release
  