cmd: refresh page (#7988)

* Refresh a page:
- better grammar
- better token syntax

* Remove redundant quotes

* Apply suggestions from code review

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* Make page consistent with `pwsh` page and:

- add more mnemonics

---------

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
pull/3/head
Emily Grace Seville 2023-02-06 00:51:25 +10:00 committed by GitHub
parent 01432562fe
commit 20ce3c4696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -7,17 +7,17 @@
`cmd`
- Execute a [c]ommand:
- Execute specific [c]ommands:
`cmd /c "{{command}}"`
`cmd /c {{echo Hello world}}`
- Execute a script:
- Execute a specific script:
`cmd {{path/to/file.bat}}`
`cmd {{path/to/script.bat}}`
- Execute a command and then enter an interactive shell:
- Execute specific commands and then enter an interactive shell:
`cmd /k "{{command}}"`
`cmd /k {{echo Hello world}}`
- Start an interactive shell session where `echo` is disabled in command output:
@ -31,6 +31,6 @@
`cmd /e:{{on|off}}`
- Start an interactive shell session with used Unicode encoding:
- Start an interactive shell session with used [u]nicode encoding:
`cmd /u`