Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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.

Launch: AppName

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'"
© 2015 Microsoft