|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Executes the specified command after launching the Visual Studio integrated development environment (IDE).
Required. The complete name of a Visual Studio command or its alias, enclosed in double quotation marks. For more information about command and alias syntax, see Visual Studio Commands.
This example launches Visual Studio and automatically runs the macro Open Favorite Files.
devenv /command "Macros.MyMacros.Module1.OpenFavoriteFiles"