Shell Commands/Assign

From MorphOS Library

Revision as of 18:39, 2 March 2015 by JPV (talk | contribs) (Created page with "'''Assign''' - Lists, creates, modifies or removes an assign from MorphOS NAME, TARGET/M, LIST/S, DISMOUNT/S, DEFER/S, PATH/S, ADD/S, REMOVE/S, VOLS/S, DIRS/S, DEVICES/S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Assign - Lists, creates, modifies or removes an assign from MorphOS

NAME, TARGET/M, LIST/S, DISMOUNT/S, DEFER/S, PATH/S, ADD/S, REMOVE/S, VOLS/S, DIRS/S, DEVICES/S

NAME     - name of the assign                                                        
TARGET   - target of the assign
LIST     - if used, a list of all current assignments is displayed.
DISMOUNT - disconnects a volume or device from the list of mounted devices.
DEFER    - creates a late-binding Assign. This Assign takes effect when
           the assigned object is first referenced, rather than when
           the assignment is made. When the DEFER option is used, the disk
           containing the assigned target is not needed until the object
           is called. The assignment then remains valid until explicitly
           changed.
PATH     - The PATH option creates a non-binding Assign.
           A non-binding Assign acts like a DEFERed Assign, except that
           is re-evaluated each time the assigned name is referenced.
ADD      - does not replace any existing target assigned to NAME.
           This target is added to the Assign list and the system
           searches for all the targets when NAME is encountered.
REMOVE   - deletes a target name from the Assign list.
VOLS     - limits the display to volumes when LIST is used
DIRS     - limits the display to directories when LIST is used
DEVICES  - limits the display to devices when LIST is used

Example:

SYS:> Assign FONTS: MyFonts:Fontdir

assigns the FONTS: directory to Fontdir on MyFonts: