- VsEnv.bat - switch command line enironment between Visual Studio versions
- vs15.bat - calls VsEnv to switch to VS2017
- vs16.bat - calls VsEnv to switch to VS2019
- vs17.bat - calls VsEnv to switch to VS2022 Preview
- EnvReset.bat - generic tool to snapshot and restore enrionment variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @net session 1>nul 2>nul | |
| @if not errorlevel 1 echo Session already elevated. & exit /b 0 | |
| powershell "start-process cmd -argumentlist \"/k cd %cd%\" -verb runas" | |
| @if not errorlevel 1 exit |