anchor.diff:  >>%vbs% echo Set objShell = Nothing
   cscript //nologo %vbs%
   if exist %vbs% del /f /q %vbs%
  +del /f /q %2
   goto:eof
   	
   :download
  
positive.code: if ERRORLEVEL 1 call:setup_python
  if "%failure%" neq "0" goto:done_with_error
  
  rem where perl > NUL 2>&1
  rem if ERRORLEVEL 1 call:install_perl
  rem if "%failure%" NEQ "0" goto:eof
  
  rem where perl > NUL 2>&1
  rem if ERRORLEVEL 1 call:setup_perl
  rem if "%failure%" neq "0" goto:done_with_error
  
  where ninja > NUL 2>&1
  if ERRORLEVEL 1 call:install_ninja
  
negative.code: 
  echo Installing ninja
  
  call:make_directory c:\ninja
  rem if NOT EXIST c:\ninja\nul mkdir c:\ninja
  
  powershell.exe -Command (new-object System.Net.WebClient).DownloadFile('http://github.com/martine/ninja/releases/download/v1.6.0/ninja-win.zip','C:\ninja\ninja-win.zip')
  
  echo downloaded
  if EXIST c:\ninja\ninja-win.zip call:unzipfile "C:\ninja\" "C:\ninja\ninja-win.zip"
  echo exctracking
  if EXIST c:\ninja\nul (
  	
  	call:set_path "C:\ninja"
  	rem setx PATH "%PATH%;C:\ninja" /m
  	rem set PATH=%PATH%;C:\ninja
  )
  goto:eof
  
  
  