Center for Technical Education
Computer Technology
Internal DOS Commands


ABOUT Prompt
   Allows you to change the MS-DOS prompt to display more or less information.
Prompt SYNTAX
   Changes the Windows command prompt.

    PROMPT [text]

    text Specifies a new command prompt.

    Prompt can be made up of normal characters and the following special codes:

        $Q     = (equal sign)
        $$     $ (dollar sign)
        $T     Current time
        $D     Current date
        $P     Current drive and path
        $V     Windows version number
        $N     Current drive
        $G     > (greater-than sign)
        $L     & (less-than sign)
        $B     | (pipe)
        $H     Backspace (erases previous character)
       $E     Escape code (ASCII code 27)
        $_     Carriage return and linefeed

   Type PROMPT without parameters to reset the prompt to the default setting.
EXAMPLE
    prompt$t$d$_$p$g - This would display the time and the date above your prompt when in DOS.