From 1f3fef871cb647aaf862f5262b8e29a017d88829 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Thu, 21 Jun 2018 10:24:47 +0100 Subject: [PATCH] exit: add page --- pages/windows/exit.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/windows/exit.md diff --git a/pages/windows/exit.md b/pages/windows/exit.md new file mode 100644 index 000000000..f456015e3 --- /dev/null +++ b/pages/windows/exit.md @@ -0,0 +1,15 @@ +# exit + +> Quit the current CMD instance or the current batch file. + +- Quit the current CMD instance: + +`exit` + +- Quit the current batch script: + +`exit /b` + +- Quit using a specific exit code: + +`exit {{exit_code}}`