diff --git a/pages/windows/cmd.md b/pages/windows/cmd.md index c46ddc9b52..6bfacf7fa4 100644 --- a/pages/windows/cmd.md +++ b/pages/windows/cmd.md @@ -3,34 +3,34 @@ > The Windows command interpreter. > More information: . -- 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`