mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:22:09 +02:00

* Make placeholders more compatible with CLIP ones * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
36 lines
800 B
Markdown
36 lines
800 B
Markdown
# cmd
|
|
|
|
> The Windows command interpreter.
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cmd>.
|
|
|
|
- Start an interactive shell session:
|
|
|
|
`cmd`
|
|
|
|
- Execute specific [c]ommands:
|
|
|
|
`cmd /c {{echo Hello world}}`
|
|
|
|
- Execute a specific script:
|
|
|
|
`cmd {{path\to\script.bat}}`
|
|
|
|
- Execute specific commands and then enter an interactive shell:
|
|
|
|
`cmd /k {{echo Hello world}}`
|
|
|
|
- Start an interactive shell session where `echo` is disabled in command output:
|
|
|
|
`cmd /q`
|
|
|
|
- Start an interactive shell session with delayed [v]ariable expansion enabled or disabled:
|
|
|
|
`cmd /v:{{on|off}}`
|
|
|
|
- Start an interactive shell session with command [e]xtensions enabled or disabled:
|
|
|
|
`cmd /e:{{on|off}}`
|
|
|
|
- Start an interactive shell session with used [u]nicode encoding:
|
|
|
|
`cmd /u`
|