Files
tldr/pages.zh/windows/exit.md

313 B

退出

退出当前的 CMD 实例或当前的批处理文件。 更多信息:https://learn.microsoft.com/windows-server/administration/windows-commands/exit

  • 退出当前的 CMD 实例:

exit

  • 退出当前的 [b]atch 脚本:

exit /b

  • 使用特定的退出代码退出:

exit {{2}}