PROMPT+Changing the System Prompt
Allows you to change the DOS prompt.
MS-DOS equivalent: PROMPT (2.0+)
The prompt can be any literal message displayed on the
screen, and it can include any of the following special
$t Current time
$d Current date
$n Default drive
$p Current path
$v DOS version number
$g Greater-than character ()
$l Less-than character ()
$b Vertical bar (|)
$q Equal sign (=)
$_ Starts a new line (enters carriage-return/line-feed
$h Backspaces and erases last character
$e ESCAPE character SCII 27)
PROMPT $t $b $d $b $n$g
AFTER: 12:09:33.55 | Thu 9-10-87 | A
PROMPT Good morning$_Today is $d
AFTER: Good morning
Today is Thu 9-10-87
PROMPT can also be used to display the current path at the
prompt before the greater-than sign by entering the command as
(with no prompt string) to reset the DOS prompt to the default
All changes to the DOS prompt made with the PROMPT command
remain in effect until you reboot the computer or enter a new
PROMPT command. To maintain a consistent DOS prompt different
from the default prompt, enter the appropriate PROMPT command in
your AUTOEXEC.BAT file.
[For related topics, press R]
|file: /Techref/dos/command/prompt.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2018/8/18 05:18,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/dos/command/prompt.htm"> dos command prompt</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180818 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Bob Blick, Neil, John Gardner, Denny Esterline, Brent Brown,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!