# Specifying execution arguments

You can specify the execution arguments that an application uses and the working directory for a run configuration.

To specify execution arguments:

1. In the C/C++ Projects view, select a project.
2. Click Run > Run or Run > Debug.
3. In the Configurations box, expand C/C++ Local.
4. Select a run or debug configuration.
5. Click the Arguments tab.
6. In the C/C++ Program Arguments box, type the arguments that you want to pass to the command line.
7. To specify a local directory or a different project in your workspace, clear the Use default working directory check box.
8. Click Run or do the following, as required:
   - To set the environment variables and values to use when an application runs, see Setting environment variables
   - To select a debugger to use when debugging an application, see Creating a run configuration
   - To specify the location of source files used when debugging a C or C++ application, see Specifying the location of source files
   - To specify where the run configuration is stored, how you access it and the perspective to open when running an application, see Specifying the location of the run configuration

CDT projects
Project file views

Creating or editing a run configuration

Run and Debug dialog box