http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People
kitty mascottop logo menu

Alias

Index Prev Next


Name

Alias

Synopsis

NAME,STRING/F

Function

Alias allows you to create an alternate name for other DOS commands.
If Alias is used with no parameters, it will display the current
list of Aliases defined within the current shell.

Using a pair of square brackets within an alias allows you to
provide the 'new' dos command with parameters.

If no parameters are specified, the current list of aliases are
displayed.

Inputs

NAME    - The name of the alias to set.

STRING  - The value of the alias NAME.

Result

Standard DOS error codes.

Example

Alias DF "Type [] number"

    By typing "DF S:Shell-Startup" in the shell, you are actually
    executing the command "Type S:Shell-Startup number". This will
    display the contents of the S:Shell-Startup file in the shell
    with line numbers on the left hand side.

Copyright © 1995-2014, Het AROS Development Team. Alle rechten voorbehouden.
Amiga® is een merknaam van Amiga Inc. Alle andere merknamen behoren tot hun respectievelijke eigenaren.