PDF download Download Article PDF download Download Article

This article will teach you two simple ways of exiting the Command Prompt in Windows. For these steps to work, a Command Prompt window must be opened.

Method 1
Method 1 of 2:

Using the "Exit" Command

PDF download Download Article
  1. The Command Prompt window in which the command was typed will close.
  2. Advertisement
Method 2
Method 2 of 2:

Using the "X" Window Control Button

PDF download Download Article
  1. If you're using Windows 10, the button will be white until highlighted with your pointer.
  2. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I get on CMD using a Mac?
    Community Answer
    Community Answer
    Type exit, or click the x in the upper right hand corner, You can also right click on the top banner and select, close.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Boot to Command PromptBoot to Command Prompt
Use CMD (Beginner)Use CMD (Beginner)
Run a Program on Command Prompt Run a Program at the Windows Command Prompt: 2 Ways
Shut Down Your Windows Computer from the Command LineShut Down Your Windows Computer from the Command Line
Open Calculator with the Command Prompt in WindowsOpen Calculator with the Command Prompt in Windows
Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Reboot from Command Prompt on WindowsReboot from Command Prompt on Windows
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Add Users from CMDAdd Users from CMD
Advertisement

About This Article

Tested by:
wikiHow Technology Team
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 73,932 times.
How helpful is this?
Co-authors: 5
Updated: September 19, 2019
Views: 73,932
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 73,932 times.

Is this article up to date?

Advertisement