Command: prompt
PROMPT changes the way command prompt appears.
PROMPT is a BATCH-FILE / AUTOEXEC.BAT command.
It can also be used in command line.
Syntax:
PROMPT [Options] [text]
text Specifies a new command prompt.
Options:
Prompt can be made up of normal characters and the following special
codes:
$$ $ (dollar sign)
$_ Carriage return and linefeed
$B | (pipe)
$D Current date
$E Escape code (ASCII code 27)
$G > (greater-than sign)
$H Backspace (erases previous character)
$L < (less-than sign)
$N Current drive
$P Current drive and path
$Q = (equal sign)
$T Current time
$V the FreeDOS command shell version number
Comments:
Type PROMPT without parameters to reset the prompt to the default
setting. PROMPT can also be used outside a batch file.
PROMPT is a command internal to command.com and needs no other file
in order to work.
Examples:
IN A .BAT FILE / AUTOEXEC.BAT:
prompt $p$g This is the same as the default setting
prompt $p$g Please enter a command!
See also:
autoexec.bat
batch files
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 2003 Robert Platt, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.