System Grab Bag

View all TLDR pages from Windows (or from all pages)

vcvarsall

Setup the environment variables required for using the Microsoft Visual Studio tools. The path of vcvarsall for a certain Visual Studio installation can be found using vswhere. More information: https://learn.microsoft.com/cpp/build/building-on-the-command-line.
  • Setup the environment for native x64:
    vcvarsall x64
  • Setup the environment for cross-compiled native x86 from the x64 host:
    vcvarsall x64_x86
  • Setup the environment for cross-compiled native Arm x64 from the x64 host:
    vcvarsall x64_arm64
  • Setup the environment for native UWP x64:
    vcvarsall x64 uwp

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.