Amiga Survival Kit (Disk 80) (Feb 1988) : CLI Information / Aliases

From bruceb@amiga.UUCP (Bruce Barrett) Thu Nov 21 13:53:41 1985
Relay-Version: version B 2.10.2 9/18/84; site gumby.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amiga.amiga.UUCP
Path: gumby!uwvax!seismo!lll-crg!lll-lcc!vecpyr!amd!pesnta!pyramid!amiga!bruceb
From: bruceb@amiga.UUCP (Bruce Barrett)
Newsgroups: net.micro.amiga
Subject: A way to ALIAS commands
Message-ID: <312@amiga.amiga.UUCP>
Date: 21 Nov 85 19:53:41 GMT
Date-Received: 22 Nov 85 14:08:55 GMT
Reply-To: bruceb@hunter.UUCP (Bruce Barrett)
Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030
Lines: 34
Keywords: AmigaDOS alias execute


    As you all know (don't you?) you can assign logical volume/device 
names to physical disk drive names such as:
        assign Source: df0:
        assign Destination: DF1:
        diskcopy source: to destination:

Useful?, yes, for some things.

Did you know you can also assign logical volume/device names to sub-
directories?  Such as:

        assign from: df0:devs/printers
        assign to: ram:
        copy from: to to:

*BUT*  the *FUN* one you may not have noticed is that you can assign
to FILE NAMES (read commands).  For example:

        assign x: c:execute
        assign e: c:ed
        assign cc: df1:c/LC

then use them like:

        x: startup-sequence
        e: my_text_file
        cc: foo -i df1:include

Assigns are SYSTEM WIDE, NOT unique to each window.

Have fun!

        BruceB