We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


The VSPerfCmd.exe Args option specifies a list of arguments that are passed to the target application of the Launch subcommand.

Args can only be used when Launch is also specified on the command line. Args is optional when Launch is specified.

VSPerfCmd.exe /Launch:AppName /Args:Arguments [Options]


A list of arguments to the target application of the Launch command.


Starts the specified application and begins profiling with the sampling method.

The following example uses the Args option to pass arguments to TestApp.exe.

VSPerfCmd.exe /Start:Sample /Output:TestApp.exe.vsp
VSPerfCmd.exe /Launch:TestApp.exe /Args:"123, 'Hello World'"