You can set the directory from which program execution is started. By default,
the IDE starts all program execution from the IDE installation directory.
To set the execution directory:
Choose Tools Options
and expand Debugging and Execution Execution
Types.
Select the project's default execution type.
Enter the path to the execution directory in the Working Directory property.