setup_vs_any.cmd 764 B

1234567891011121314151617181920212223242526
  1. @echo off
  2. if exist "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" (
  3. call %~dp0\setup_vs2022.cmd
  4. goto vsdone
  5. )
  6. if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" (
  7. call %~dp0\setup_vs2019.cmd
  8. goto vsdone
  9. )
  10. if exist "C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" (
  11. call %~dp0\setup_vs2019.cmd
  12. goto vsdone
  13. )
  14. if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
  15. call %~dp0\setup_vs2017.cmd
  16. goto vsdone
  17. )
  18. if exist "C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
  19. call %~dp0\setup_vs2017.cmd
  20. goto vsdone
  21. )
  22. :vsdone