1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/windows/exit.md

17 lines
314 B
Markdown
Raw Normal View History

2019-03-10 22:54:08 +08:00
# exit
> 退出当前的命令行实例或 bat 脚本。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/exit>.
2019-03-10 22:54:08 +08:00
- 退出当前的命令行实例:
2019-03-10 22:54:08 +08:00
`exit`
- 退出当前的 [b]at 脚本:
2019-03-10 22:54:08 +08:00
`exit /b`
- 使用一个指定的退出码退出:
2019-03-10 22:54:08 +08:00
`exit {{退出码}}`