|
PROMPT
Modifies the DOS prompt. Changes the Windows NT command
prompt.
Syntax
prompt [text]
Top of page
Parameters
text : Specifies any text and information you want
included in your system prompt.
The default DOS prompt is: diskletter:\directoryname>,
example: C:\WINDOWS>. But there are many other options
available.
Enter PROMPT $p$g at the command-line for the standard
prompt.
Try these others:
PROMPT Sets it to "C>"(which is the old pre-windows prompt)
PROMPT $t Makes the current time(military) your prompt
PROMPT $d Makes the current date your prompt
PROMPT $v Makes the Windows Version your prompt
PROMPT $q Prompt is "="
PROMPT $b Prompt is "|"
PROMPT $e Prompt is "<-"
PROMPT $l Prompt is "<"
PROMPT $_ Prompt is nothing(can be scary)
PROMPT $n Makes the current drive letter your prompt
PROMPT $a Opens up a whole host of options. For example,
PROMPT $aHello Jerk makes the prompt: Hello Jerk. You could
have a user's name as the prompt: PROMPT $aTeddy Roosevelt.
Combinations are also possible: PROMPT $aGeorge $t makes the
prompt a user's name an the current time.
Examples
The following command displays a two-line prompt in which
the current time appears on the first line and the current
date appears on the second line:
prompt time is: $t$_date is: $d
Batch File Commands
|