prompt


prompt

Change the appearance of the prompt. Type prompt by itself (without text ) to reset the prompt to its default setting, or use this syntax:

 prompt [   text   ] 

Text can contain normal characters and the following special codes:

Char

Description

Char

Description

$_

Carriage return and linefeed

$h

Erase previous character

$$

$ (dollar sign)

$l

< ( less-than sign)

$a

& (ampersand)

$n

Current drive

$b

(pipe)

$p

Current drive and path

$c

( (left parenthesis)

$q

= (equal sign)

$d

Current date

$s

(single space)

$e

Escape character, for formatting

$t

Current time

$f

) (right parenthesis)

$v

Windows version number

$g

> (greater-than sign), karet

   

Examples

 prompt $p$g prompt $p$_$d$g prompt $n$g 


Windows XP Pocket Reference
Windows XP Pocket Reference
ISBN: 0596004257
EAN: 2147483647
Year: 2001
Pages: 154
Authors: David A. Karp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net