You copied the Doc URL to your clipboard.

directory

This command specifies additional directories to search for source files. If you use this command without an argument then the search directories are reset to the default settings. You can use the show command to display the current settings.

Syntax

directory [path]...

Where:

path

Specifies an additional directory to search for source files. This is appended to the beginning of the list.

Note

Multiple directories can be specified but must be separated with either:

  • a space

  • a colon (Unix)

  • a semi-colon (Windows).

Default

The default directories for searching are:

  • compilation directory, $cdir

  • current working directory, $cwd

  • current image directory, $idir.

Example

directory "\usr\source"      # Add directory to search list
directory "\usr" "\My Src"   # Add two directories to search list,
                             # first takes precedence
directory                    # Reset to the default directories