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
2022-10-04 23:06:23 +08:00

312 B

exit

退出当前的命令行实例或 bat 脚本。 更多信息:https://learn.microsoft.com/windows-server/administration/windows-commands/exit.

  • 退出当前的命令行实例:

exit

  • 退出当前的 bat 脚本:

exit /b

  • 使用一个指定的退出码退出:

exit {{退出码}}