" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">

                  PROMPT (Set System Prompt) COMMAND

Purpose:  Sets a new system prompt.

Syntax:   PROMPT [text of a new prompt]

Type:     Internal command

Description:
     After the command you can specify the text of a new prompt. This text
can contain special sequences, marked by $c, where "c" may be any of the
following:

$     dollar sign
t     time
d     date
p     current directory of the default drive
v     version number
n     default drive
g     ">" character
l     "<" character
b     ":" character
q     "=" character
h     backspace
e     ESC code
-     CR/LF sequence (carriage return/line feed)

     If you do not specify any parameters in the PROMPT command, the current
prompt will be displayed.

Examples:

1. The system prompt will be the default drive letter and the ">"
   character:

         A>promt $n$g

2. A new system prompt will be the sequence "HELLO":

         A>prompt HELLO

3. The system prompt changes for the current directory name in the default
   drive and the ">" character:

         A>prompt $p$g

Note:
     Including this command in the AUTOEXEC.BAT file allows to get the
information about the current directory (every time the System is started).
If the current directory of the drive A is the LEVEL1 directory, the system
prompts you with the following:

         A>\level1>

4. The command may set a prompt as following:

   Time = (current time)
   Date = (current date)

         A>prompt Time = $t$_Date = $d

5. From the PROMPT command you can use the control sequences of the ANSI.SYS
   file. If the CONFIG.SYS file contains the DEVICE=ANSI.SYS command during
   the start-up of the system, then, after executing:

         A>prompt $e[s$e[24A$p$e[u-

the current directory will be displayed at the first line of a screen, and
the "-" character - at the next line. The "A" character should be a capital
letter in this sequence.

Notes:
1. Control sequences will work properly only if the ANSI screen driver has
   been installed (SCREEN=ANSI in the CONFIG.SYS or CONFIG.PTS configuration
   files)
2. The environment of the operating system is loaded into the memory
   together with the resident programs. To economize memory you should
   execute the resident programs (MODE, PRINT, GRAPHICS) before the long
   prompts string setting (see also SET command description).