|
@@ -7,17 +7,17 @@
|
|
|
|
|
|
`cmd`
|
|
`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:
|
|
- Start an interactive shell session where `echo` is disabled in command output:
|
|
|
|
|
|
@@ -31,6 +31,6 @@
|
|
|
|
|
|
`cmd /e:{{on|off}}`
|
|
`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`
|
|
`cmd /u`
|