mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
prompt: add page (#9377)
This commit is contained in:
parent
9f26ea80a6
commit
ff65957f4b
1 changed files with 24 additions and 0 deletions
24
pages/windows/prompt.md
Normal file
24
pages/windows/prompt.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue