Path: utzoo!attcan!uunet!aplcen!jhunix!barrett From: barrett@jhunix.HCF.JHU.EDU (Dan Barrett) Newsgroups: comp.sys.amiga Subject: Re: Alias and Command Separators Message-ID: <3714@jhunix.HCF.JHU.EDU> Date: 17 Dec 89 21:38:57 GMT References: <7728@cognos.UUCP> Reply-To: barrett@jhunix.UUCP (Dan Barrett) Organization: The Johns Hopkins University - HCF Lines: 29 In article <7728@cognos.UUCP> stewartw@cognos.UUCP (Stewart Winter) writes: >Does anyone out there know how to make the ALIAS command of NEWCLI >support a sequence of commands. For example on UNIX, I could > alias abc 'cd Games: ; run hisGame' A quick solution would be to make a script file instead of an alias. Edit a file called "abc", and put the lines: cd Games: run hisGame into it. Put the file "abc" into a directory in your search path: copy abc Some_Directory_In_Your_Path Finally, set the script bit on the file by typing: cd Some_Directory_In_Your_Path protect abc +s You now have an "abc" command as given above. Dan //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | Dan Barrett, Department of Computer Science Baltimore, MD 21218 | | INTERNET: barrett@cs.jhu.edu | UUCP: barrett@jhunix.UUCP | | COMPUSERVE: >internet:barrett@cs.jhu.edu | BITNET: barrett@jhuvms.bitnet | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////