The Command Prompt is the command line interface (CLI) provided with Microsoft operating systems. This activity will show you how to close a command prompt.
Readings[edit | edit source]
Preparation[edit | edit source]
To prepare for these activities:
- Start Windows.
- Log in if necessary.
- Have a command prompt open.
Activity 1 - Close a Command Prompt[edit | edit source]
Three different methods for closing a command prompt are available. These include the Close button, the Control box, and the Exit command.
Method 1 - Close Button[edit | edit source]
As with any window, to close a command prompt using the Close button:
- Click on the Close button (X) in the upper right corner.
Method 2 - Control Box[edit | edit source]
As with any window, to close a command prompt using the control box:
- Click on the Command Prompt icon / Control Box in the upper left corner or press Alt + Space.
- Select Close.
Method 3 - Exit Command[edit | edit source]
Unique to command prompts, to close a command prompt using the Exit command:
- Type exit in the command window. Note: Windows commands are generally not case sensitive. Exit, exit, and EXIT work equally well.
- Press Enter.