diff --git a/docs/overview/acquire-msvc.md b/docs/overview/acquire-msvc.md index cbd86ef454..b70d02b277 100644 --- a/docs/overview/acquire-msvc.md +++ b/docs/overview/acquire-msvc.md @@ -184,10 +184,10 @@ cmake -G "Visual Studio 18 2026" -T "version=14.52" ..\ Some build systems need the command prompt to have the `PATH`, `LIB`, `INCLUDE`, and related environment variables set before you run them. -To start a Visual Studio Command Prompt that targets a supported Build Tools version, add `-vcvars_ver=` where `` matches the folder name under `\VC\Tools\MSVC\`. +To start a Visual Studio Command Prompt that targets a supported Build Tools version, add `-vcvars_ver=` where `` matches the prefix of a folder name under `\VC\Tools\MSVC\`. ```cmd -\VC\Auxiliary\Build\vcvars64.bat -vcvars_ver=14.50.35717 +\VC\Auxiliary\Build\vcvars64.bat -vcvars_ver=14.50 ``` To start a Visual Studio Command Prompt targeting the MSVC preview tools, use `-vcvars_ver=preview`: