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




file: /Techref/DOS/command/prompt.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2024/3/29 06:11,
TOP NEW HELP FIND: 
52.86.227.103:LOG IN

 ©2024 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.ecomorder.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 a nice message (short messages are blocked as spam) 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?

 

Welcome to ecomorder.com!

 

Welcome to www.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .