ALIAS(1) DOS COMMANDS ALIAS(1) NAME ALIAS : to produce pseudonyms for often used commands or expressions. SYNOPSIS ALIAS [] [] TEMPLATE ALIAS "NAME,STRING" PATH Build in SHELL. DESCRIPTION ALIAS associates a single name to a command string so that each time the aliased name is entered as a command, the string is executed. ALIAS can be used to shorten names of often used commands, or to reduce to one name the call of a command with a fixed set of switches or arguments. ALIAS is also very useful when combined with SPAT to make pattern matching expansion for a given command. With no argument, ALIAS displays all the aliased names with their definitions. If called with a single argument (the NAME), ALIAS removes the definition for that name. OPTIONS NAME : The name for the alias. If the name is already defined as an alias, the new definition replaces the old one. STRING : The command string to associate to the ALIAS. SEE ALSO ASSIGN, NEWSHELL. BUGS Under some other operating system (like UNIX), ALIAS followed by a name gives the definition associated with that name. With the AmigaDOS SHELL, ALIAS followed by a name DESTROY the definition of that name!!! EXAMPLES > ALIAS flist list QUICK NOHEAD FILES ; FLIST lists only the file names. > ALIAS l list ; if you find "list" to long, make it l! > ALIAS sx execute s:SPAT protect [] +s ;to make scripts executable. > ALIAS icondir copy sys:empty.info [].info ; Try it with a dir name.