Feature Only in Professional and Enterprise Editions Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.
When a batch file is executed using the Custom option in the Profile dialog box, the development environment substitutes the project’s program name for the %1 parameter.
To specify your program’s command-line arguments
For more information on creating profiler batch files, see Run the Profiler from the Command Line.