http://www.aros.orgAROS-ExecTeam AROSAROS-Exec Archives

Home

English

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska

Česky


News

Archive

Introduction

Status
Screenshots
Ports
License

Download


Documentation

Users
Installation
Using
Shell commands
Applications
FAQ
Developers
Contribute
Roadmap
Bug Tracker
Working with Subversion
Compiling
Application Development Manual
Zune Application Development Manual
System Development Manual
Debugging Manual
Reference
Specifications
UI Style Guide
Documenting
Porting
Translating
Summaries
Links

Contact

Mailing lists
IRC channels

Credits

Acknowledgements


Pictures

Developers
Developers en Masse

Sponsors

Linking

Links

SourceForge Logo

Alias

Index Prev Next


Name

Alias

Synopsis

NAME,STRING/F

Location

Sys:c

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.

See also

Unalias

Copyright © 1995-2008, The AROS Development Team. All rights reserved.
Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.