Command Prompt/Close

From Wikiversity
Jump to navigation Jump to search

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:

  1. Start Windows.
  2. Log in if necessary.
  3. 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:

  1. 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:

  1. Click on the Command Prompt icon / Control Box in the upper left corner or press Alt + Space.
  2. Select Close.

Method 3 - Exit Command[edit | edit source]

Unique to command prompts, to close a command prompt using the Exit command:

  1. Type exit in the command window. Note: Windows commands are generally not case sensitive. Exit, exit, and EXIT work equally well.
  2. Press Enter.

References[edit | edit source]