Prompt

Changes the command prompt.

Syntax

 prompt [text] 

Parameters

 

Parameter

Purpose


none

Resets the command prompt to its default setting.

[text]

Specifies the text to be displayed as the command prompt. In addition to text, you can also include the following:

 

$q equals sign

 

$$ dollar sign

Parameters (continued)

 

Parameter

Purpose


 

$t time

 

$d date

 

$p drive and path

 

$v Windows version number

 

$n drive

 

$g greater-than sign

 

$l less-than sign

 

$b pipe

 

$_ Enter-linefeed

 

$e ANSI escape code (code 27)

 

$h Backspace

 

$a & ampersand

 

$c left parenthesis

 

$f right parenthesis

 

$s space

 

$+ Zero or more plus sign (+) characters depending upon the depth of the pushd directory stack

 

$m Remote name associated with the current drive letter



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

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