exit(CMD) 19 June 1992 exit(CMD) Name exit - quit the COMMAND.COM program (the command interpreter) Syntax exit Notes Using exit with the command interpreter When you use the MS-DOS command command to start a new command inter- preter, you can use the exit command to return to the old command inter- preter. Also, while running some programs, you can run the MS-DOS com- mand interpreter and then use the exit command to return to your program. For more information about command interpreters, see the command command. 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.