anchor.diff:  :#   2017-11-24 JFL Added paths for Visual Studio up to 2017.		      *
   :#                  Fixed the display of variables set by the script.         *
   :#   2018-01-10 JFL Added option -X.                           		      *
  +:#   2019-05-09 JFL Added support for Visual Studio 2019.		      *
   :#                                                                            *
   :#         Copyright 2018 Hewlett Packard Enterprise Development LP          *
   :# Licensed under the Apache 2.0 license: www.apache.org/licenses/LICENSE-2.0 *
  
positive.code: 
  :echo.msvcvars
  echo :# Environment variables used or set by Visual C++' script
  call :echo.vars DevEnvDir FrameworkDir FrameworkVersion INCLUDE LIB LIBPATH PATH VCINSTALLDIR VSINSTALLDIR WindowsSdkDir
  goto :eof
  
  :#-----------------------------------------------------------------------------
  
negative.code: :findvc32
  call :findvs
  for %%s in (%VSTUDIOS%) do @(
    for %%c in ("Enterprise\VC" "Professional\VC" "Community\VC" "Preview\VC" "VC" "VC7" "VC98") do @(
      for %%p in ("\Auxiliary\Build" "") do (
        %ECHO.V% :# Searching vcvarsall.bat in "%%~s\%%~c%%~p"
        if exist "%%~s\%%~c%%~p\vcvarsall.bat" (
          set "VSTUDIO=%%~s"
          set "VC=%%~s\%%~c"
          set "VCVARSDIR=%%~s\%%~c%%~p"
          goto foundvc32
        )
      )
    )
  )
  :foundvc32
  %ECHO.V% :# Found "%VCVARSDIR%\vcvarsall.bat"
  %ECHOVARS.V% VSTUDIO VC
  %RETURN%
  
  :#-----------------------------------------------------------------------------
  