This method will let you add one or more files from a single directory to your project. There is a faster method if you wish to add all files from a directory to a project.
Select one or more files. The files need not reside in the project's directory. You can navigate to other directories if necessary.
Choose how the file's path should be stored in the project.
Relative: Path is relative to the project directory. This is usually best for files that reside inside the project directory. This allows the project folder to be moved anywhere while still maintaining a path to the files it contains.
Absolute: Path is the full, absolute system path (e.g. "C:\MTT\Hello.X\hello.c"). This is usually best for files that reside outside the project directory. This allows the project folder to be moved anywhere as long as the external files remain in the same location.
Auto: Choses path automatically. Uses relative for files inside the project directory and absolute for files outside the project directory.
If you select a file outside of the project directory, checking this box will copy the file to your project's directory and use the copy instead of the original file in its original location.
Click the Select button when done.
To choose multiple files, after clicking on one file hold down the Ctrl key and click on as many additional files as you want. To make it easier to select several files of the same type, select the file type from the Files of type combo box (d) at the very bottom of the dialog. This will filter the display to show only files of the selected type.