diff --git a/pages/windows/cmd.md b/pages/windows/cmd.md index 07732cc4a..e86fd4ef6 100644 --- a/pages/windows/cmd.md +++ b/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`