mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 16:35:28 +02:00
cmd: update page (#7417)
This commit is contained in:
parent
a22424ffdd
commit
e33298ff75
1 changed files with 14 additions and 14 deletions
|
@ -3,34 +3,34 @@
|
|||
> The Windows command interpreter.
|
||||
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cmd>.
|
||||
|
||||
- Start a new instance of the command interpreter:
|
||||
- Start an interactive shell session:
|
||||
|
||||
`cmd`
|
||||
|
||||
- Run the specified command and then exit:
|
||||
- Execute a [c]ommand:
|
||||
|
||||
`cmd /c "{{command}}"`
|
||||
|
||||
- Run the specified command and then enter an interactive shell:
|
||||
- Execute a script:
|
||||
|
||||
`cmd {{path/to/file.bat}}`
|
||||
|
||||
- Execute a command and then enter an interactive shell:
|
||||
|
||||
`cmd /k "{{command}}"`
|
||||
|
||||
- Disable the usage of `echo` in command output:
|
||||
- Start an interactive shell session where `echo` is disabled 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:
|
||||
- Start an interactive shell session with delayed [v]ariable expansion enabled or disabled:
|
||||
|
||||
`cmd /v:{{on|off}}`
|
||||
|
||||
- Force output to use Unicode encoding:
|
||||
- Start an interactive shell session with command [e]xtensions enabled or disabled:
|
||||
|
||||
`cmd /e:{{on|off}}`
|
||||
|
||||
- Start an interactive shell session with used Unicode encoding:
|
||||
|
||||
`cmd /u`
|
||||
|
|
Loading…
Add table
Reference in a new issue