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

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
36 lines
683 B
Markdown
36 lines
683 B
Markdown
# cmd
|
|
|
|
> The Windows command interpreter.
|
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cmd>.
|
|
|
|
- Start a new instance of the command interpreter:
|
|
|
|
`cmd`
|
|
|
|
- Run the specified command and then exit:
|
|
|
|
`cmd /c "{{command}}"`
|
|
|
|
- Run the specified command and then enter an interactive shell:
|
|
|
|
`cmd /k "{{command}}"`
|
|
|
|
- Disable the usage of `echo` in command output:
|
|
|
|
`cmd /q`
|
|
|
|
- Enable or disable command extensions:
|
|
|
|
`cmd /e:{{on|off}}`
|
|
|
|
- Enable or disable file or directory autocompletion:
|
|
|
|
`cmd /f:{{on|off}}`
|
|
|
|
- Enable or disable environment variable expansion:
|
|
|
|
`cmd /v:{{on|off}}`
|
|
|
|
- Force output to use Unicode encoding:
|
|
|
|
`cmd /u`
|