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.