From e7beabd5d77b517cac98c7005b0b37b4511cdc6e Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 26 Sep 2018 21:01:42 +0100 Subject: [PATCH] cmd: add page (#2345) --- pages/windows/cmd.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/windows/cmd.md diff --git a/pages/windows/cmd.md b/pages/windows/cmd.md new file mode 100644 index 0000000000..369c5f8e43 --- /dev/null +++ b/pages/windows/cmd.md @@ -0,0 +1,35 @@ +# cmd + +> The Windows command interpreter. + +- Start a new instance of the command interpreter: + +`cmd` + +- Run the specified command and then exit: + +`cmd /c "{{command}}"` + +- Run the specified command and then enter an interactive shell: + +`cmd /k "{{command}}"` + +- Disable the usage of `echo` 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: + +`cmd /v:{{on|off}}` + +- Force output to use unicode encoding: + +`cmd /u`