CmdID

CmdID / Commands

prompt

Changes the Cmd.exe command prompt, including displaying any text you want, such as the name of the current directory, the time and date, or the Microsoft Windows version number. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Changes the Cmd.exe command prompt, including displaying any text you want, such as the name of the current directory, the time and date, or the Microsoft Windows version number. If used without parameters, this command resets the command prompt to the default setting, which is the current drive letter and directory followed by the greater than symbol (>).

prompt [<text>]
prompt $d$s$s$t$_$g
Fri 06/01/2007 13:53:28.91
prompt --$g
prompt $p$g
<text>Specifies the text and information that you want to include in the command prompt.
/?Displays help at the command prompt.

Windows

from tldr-pages, CC BY 4.0

Change the default DOS style prompt in a command window.

Reset the prompt to the default setting

promptIdentify

Set a specific prompt

prompt promptIdentify

Change the prompt to show the current date first

prompt $D $P$GIdentify

Change the prompt to show the current time first

prompt $T $P$GIdentify

Change the prompt by adding a specific text first

prompt text $P$GIdentify