Command Prompt for Windows




Command DOS

Function:

Shell to DOS or change the behaviour of all text mode windows.

Syntax:

DOS [CLOSE | INACTIVE]
CLOSEClose text mode windows on exit.
INACTIVEDo not close text mode windows on exit, instead leave all text mode windows open. The windows title will be changed to include the word "Inactive", signaling that the program has completed executing and may be close manually at any time.

Note:

Type DOS without any parameters to run the default shell, specified by the COMSPEC environment variable.

Also see Program Run Options.