Command: exit

  EXIT exits the current FreeDOS Command Shell.

Syntax:

  EXIT [/?]

Options:

  /?  Shows the help.

Comments:

  Terminates the currently running shell, unless FreeCOM had been started with
  the /P option. In this case, EXIT works like CANCEL (a hidden command).

Examples:

  command.com (works without option /P)
  exit        (terminates the currently running shell)
  exit /?     (Shows the help)

See also:

  command.com/freecom
  shell

  Copyright © 2004 Robert Platt, updated 2011 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.