AddPath

Section: Misc. Reference Manual Pages (1l)
Updated: Amiga Programmer's Manual
Index Return to Main Contents
 

USAGE

Usage: addpath [-r] [-a] [-p] directory ...
       -r removes directory from path
       -a appends directory to path, if not already present (default)
       -p prepends directory to path, if not already present

AddPath is somewhat like the standard Commodore Path command: you can add directories to the CLI/Shell's search path.

But AddPath has 3 additional features when compared with the CBM Path 1.2 (and still 2 extra compared with the 2.0 version):

AddPath does not add a directory to the path if it already is in it.

All directories you specify after the -a option, or at the beginning of the list of directory names, are added to the end of the path.

Each directory you specify after the -p option, or at the beginning of the list of directory names, is prepended to the beginning of the path.

Additionally, you can specify that you remove a directory from the path (also possible with the 2.0 Path command). Any directories you give after the -r option are removed.

 

EXAMPLES

addpath Local:c System:Utilities -r BIG:t -p User:msh/c  

CAVEATS

 

FUTURE COMPATIBILITY

When Commodore dumps the CommandLineInterface structure or associated path list this won't work anymore.  

BUGS

None known.  

AUTHOR

Copyright 1992 by Olaf Rhialto Seibert. All rights reserved.


 

Index

USAGE
EXAMPLES
CAVEATS
FUTURE COMPATIBILITY
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 18:07:25 GMT, January 07, 2023