Prefix Options

The Prefix options allow you to determine the naming convention used to provide default names for new projects and files and the default directory paths established for those elements. These default directory paths are used to create a directory structure for each new project that you create. You can change this structure only when you are creating a new project, when you click the More Info button. Once a project has been created, the directory structure can no longer be changed.

Use the following procedures to set your default Prefix options:

  1. Select the Prefix category of the Environment options.
  2. File prefix fields: For each file type, enter the string to be used as the default base name for creating new files of that type.
  3. Working directory fields: For each working directory, enter the desired folder name in the entry field.

Each of the working directory entries in this interface has a corresponding macro, which you can use as a shorthand method of referring to the directory path in other AcuBench interfaces, such as the Project Settings interface. These macros include the following:

Macro Definition
%sourcedir% The path assigned in the Source directory field
%screendir% The path assigned in the Screen directory field
%reportdir% The path assigned in the Report directory field
%copylib% The path assigned in the Copylib directory field
%objectdir% The path assigned in the Object directory field
%listdir% The path assigned in the List directory field
%resdir% The path assigned in the Resource directory field
%layoutdir% The path assigned in the FD directory field

If you are using the default project directory structure, the following syntax:

.\object\@.acu

is functionally equivalent to:

%objectdir%\@.acu

Note that, by default, these working directory macros, rather than full directory paths, are used in COPYPATH definition that appears on the Environment tab of the Project Settings window.