Shell Commands/Path

From MorphOS Library

< Shell Commands

Path - Sets or displays the search path for executables

PATH/M, ADD/S, SHOW/S, RESET/S, REMOVE/S, QUIET/S

PATH   - Path to one or more directories                                       
ADD    - If specified, add selected dirs to current search path
SHOW   - If specified, only show a list of current search path
RESET  - If specified, replaces current path with selected dirs
REMOVE - If specified, remove selected dirs from current path
QUIET  - If specified, Path does not display requesters for volumes
         that are not currently mounted.

NOTE: the search path is only relevant when MorphOS is searching for a command or program to execute. Full path specifications are always necessary in arguments for commands such as COPY and DELETE.