please dont rip this site
PROMPT+Changing the System Prompt

Allows you to change the DOS prompt.

VERSION

PC-DOS 2.0+

MS-DOS equivalent: PROMPT (2.0+)

TYPE

Internal

SYNTAX

PROMPT [prompt]

OPTIONS

The prompt can be any literal message displayed on the

screen, and it can include any of the following special

characters:

$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

sequence)

$h Backspaces and erases last character

$e ESCAPE character SCII 27)

EXAMPLES

PROMPT $t $b $d $b $n$g

BEFORE: A

AFTER: 12:09:33.55 | Thu 9-10-87 | A

PROMPT Command:

BEFORE: C

AFTER: Command:

PROMPT Good morning$_Today is $d

BEFORE: C

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

PROMPT $p$g

BEFORE: C

AFTER: C:\WP\LETTER

UNDO

Enter

PROMPT

(with no prompt string) to reset the DOS prompt to the default

prompt.

NOTE

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]

SEE ALSO

AUTOEXEC.BAT File

Batch Files

BREAK Command

COMMAND Command

CTTY Command

EXE2BIN Command

KEYB Command

KEYBxx Command

SET Command

SUBST Command



See also:


file: /Techref/dos/command/prompt.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2017/10/23 19:23,
TOP NEW HELP FIND: 
54.224.155.169:LOG IN

 ©2017 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?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/dos/command/prompt.htm"> dos command prompt</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171023 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* 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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .