devenv.exe
starts the IDE of Visual Studio and allows to control it from the command line (cmd.exe
). vswhere.exe
in PowerShell: PS C:\> & 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' -property productPath
VsDevCmd.bat
, the name of the directory that contains devenv.exe
is stored in the Visual Studio environment variable %DevEnvDir%
. C:\…> devenv tq84.sln /Build C:\…> devenv tq84.sln /Build proj C:\…> devenv tq84.sln /Build /Debug proj
/diff
flag, devenv.exe
compares two files: C:\…> devenv /diff file1.cs file2.cs