http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

Prompt

Index Prev Next


Name

Prompt

Synopsis

PROMPT

Function

Specify the prompt for the current shell.

Inputs

PROMPT  --  The prompt to set as a string. The following commands
            may be used in a printf kind of style.

            N  --  cli number
            S  --  name of the current directory
            R  --  return code of the last operation

            If no prompt is specified "%N.%S> " is used as default.

Result

Standard DOS return codes.

Example

Prompt "Oepir Risti.%N> " gives:

Oepir Risti.10>      (if the CLI number was 10)

Copyright © 1995-2024, The AROS Development Team. Tutti i diritti riservati.
Amiga® č un marchio registrato di Amiga Inc. Tutti i diritti sui marchi vanno ai legittimi proprietari.