Bläddra i källkod

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>
Emily Grace Seville 2 år sedan
förälder
incheckning
20ce3c4696
1 ändrade filer med 7 tillägg och 7 borttagningar
  1. 7 7
      pages/windows/cmd.md

+ 7 - 7
pages/windows/cmd.md

@@ -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`