The iPhone Book: Covers iPhone 4S, iPhone 4, and iPhone 3GS   The iPhone Book
(Phone 4S, iPhone 4, and iPhone 3GS)

The most important, most useful, and most fun stuff about your iPhone.
 
The iPad Pocket Guide   The iPad Pocket Guide

Quickly master all the features and functions of the iPad with this handy well-crafted pocket guide.

MS-DOS Commands :: exit

Overview:

Closes the MS-DOS command window.

help exit

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.

(Enlarge: help color)