EXIT
(exit)
退出 CMD.EXE 程序(命令翻译程序)或当前批处理脚本。
EXIT
[/B] [exitCode]
  /B         
指定要退出当前批处理脚本而不是 CMD.EXE。如果从一个
             
批处理脚本外执行,则会退出 CMD.EXE
  exitCode    指定一个数字号码。如果指定了 /B,将
ERRORLEVEL
             
设成那个数字。如果退出 CMD.EXE,则用那个数字设置
             
过程退出代码。
Quits the CMD.EXE program (command interpreter) or the
current batch script.
EXIT
[/B] [exitCode]
  /B         
specifies to exit the current batch script instead of CMD.EXE.  If executed from outside a batch script,
it will quit CMD.EXE
  exitCode    specifies a numeric
number.  if
/B is specified, sets ERRORLEVEL that number.  If quitting CMD.EXE, sets the process
exit code with that number.