prompt
Change the default DOS style prompt in a command window. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/prompt.
-
Reset the prompt to the default setting:
prompt
-
Set a specific prompt:
prompt {{prompt}}
-
Change the prompt to show the current date first:
prompt $D $P$G
-
Change the prompt to show the current time first:
prompt $T $P$G
-
Change the prompt by adding a specific text first:
prompt {{text}} $P$G
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.