Shell Commands/Path

From MorphOS Library

Revision as of 12:35, 3 March 2015 by JPV (talk | contribs) (Created page with "'''Path''' - Sets or displays the search path for executables PATH/M, ADD/S, SHOW/S, RESET/S, REMOVE/S, QUIET/S <nowiki> PATH - Path to one or more directories...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< 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.