Load Command

This command creates a folder in the GPL project area and copies all the files associated with a project into the folder. The project is then ready to be compiled.

Load project_folder_path [-compile | -start]

Prerequisites

The project folder must contain a valid project file named “Project.gpr”. This project file describes all the remaining files within the project. The new project folder must not already exist.

Parameters

project_folder_path

Defines the path to the folder that contains the project to be loaded.  The case of the path name is significant. This folder must contain the file Project.gpr.

-compile

An optional switch that indicates the project should be compiled immediately after being successfully loaded.

-start

An optional switch that indicates the project should be compiled and started immediately after being successfully loaded. This switch implies -compile.

Remarks

The Load command is a convenient way to create a project folder in the GPL area and copy all of the project files into it. Alternately, an external file-copy utility such as FTP can be used to create the folder and copy the files.

The name of the project folder created in the GPL area is determined by the project name specified in the Project.gpr file.

Examples

Load /flash/projects/my_project

Creates the folder /GPL/My_project and copies all of the project files into it.

See Also

Console Commands | Unload Command | Compile Command