anchor.diff:  :# is to rely on the fact that the PF32 and PF64 variables defined here are left unchanged.
   :# First checking for symlinks C:\Pgm32 and C:\Pgm64, which I had on some of my systems.
   if not defined PF32   set "PF32=C:\Pgm32"
  -if not exist "%PF32%" set "PF32=%ProgramFiles(x86)%"
  +if not exist "%PF32%" if defined "ProgramFiles(x86)" set "PF32=%ProgramFiles(x86)%"
   if not exist "%PF32%" set "PF32=%ProgramFiles%"
   
   if not defined PF64   set "PF64=C:\Pgm64"
  
positive.code: %SEARCH_IN% "Microsoft Visual Studio 10.0"	&& goto :foundvs    &:# VS 2010	5.00		5.00
  %SEARCH_IN% "Microsoft Visual Studio 9.0"	&& goto :foundvs    &:# VS 2008	5.00		5.00
  :lastvs95
  %SEARCH_IN% "Microsoft Visual Studio 8"		&& goto :foundvs    &:# VS 2005	4.00		5.00
  %SEARCH_IN% "Microsoft Visual Studio .NET 2003"	&& goto :foundoldvs &:# VS 7.1	4.00		4.00 
  %SEARCH_IN% "Microsoft Visual Studio .NET"	&& goto :foundoldvs &:# VS 7.0
  %SEARCH_IN% "Microsoft Visual Studio"		&& goto :foundoldvs &:# VS 6
  SET "%VS%="
  %RETURN0%
  
  
negative.code: :# Version supporting input and output redirections, and pipes.
  :# Redirection operators MUST be surrounded by quotes. Ex: "<" or ">" or "2>>"
  :Exec
  set "Exec.RestoreErr=call :Exec.SetErrorLevel %ERRORLEVEL%" &:# Save the initial errorlevel: Build a command for restoring it later
  setlocal EnableExtensions DisableDelayedExpansion
  :Exec.Start
  set "NOREDIR0=%NOREDIR%"
  set "Exec.Redir=>>%LOGFILE%,2>&1"
  if .%NOREDIR%.==.1. set "Exec.Redir="
  