------------------------- MS-DOS v6.22 Help: Exit --------------------------
<Notes>                                                            <Index>


Quits the MS-DOS command interpreter (COMMAND.COM) and returns to the
program that started the command interpreter, if one exists.






Using exit with the command interpreter

When you use the MS-DOS COMMAND command to start a new instance of the
command interpreter, you can use the EXIT command to return to the old
command interpreter. Also, while running some programs, you can run the
MS-DOS command interpreter and then use the EXIT command to return to your
program. For more information about command interpreters, see the <COMMAND>

If you are not using the /P (permanent) switch with the inital copy of
COMMAND.COM, the EXIT command quits the command interpreter. You must then
specify at the command prompt the location of the COMMAND.COM file to start
the command interpreter again.

Using exit when the command program is loaded as permanent

If you start the COMMAND.COM program with the /P (permanent) switch, the
EXIT command has no effect.


<Top of page>
Last update: December 07, 2002 14:45 by
Content © 1997 Microsoft Corporation
All else © 2000-2005