mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/windows/prompt
Normal file
29
tldr/windows/prompt
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user