共用方式為


/UseEnv (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Starts Visual Studio and loads environmental variables into the VC++ Directories dialog box.

Syntax

Devenv /useenv

Example

The following example starts Visual Studio and loads environment variables into the VC++ Directories dialog box.

Devenv.exe /useenv

See Also

Devenv Command Line Switches