In order to pass startup parameters to a Compiled Process, proceed as below:
- Use the "Get Command Line Arguments" Action in your Process.
This Action produces a list of text values (%CommandLineArguments%), where the parameters are stored.
Hence, %CommandLineArguments[0]% corresponds to the first parameter, %CommandLineArguments[1]% corresponds to the second one etc. - Use the "Generate Exe" feature in the WinAutomation Console's Processes tab to compile your Process as a Command Line Application.
- Start the Compiled Executable via Command Prompt (cmd.exe) as shown in the attached screenshot.