How to Clear CMD on Windows? 4 Quick ‘n Easy Tips

'How To' Guides

Fix your Windows errors automatically with FREE Advanced SystemCare app & enhance your online security.

If you often use the “Command Prompt” in Windows, you may not be a stranger to the cluttered Command Prompt screen we come across. All that text and info on the black screen can make anyone feel overwhelmed. And it’s simply.. uncomfortable.

How to Clear CMD on Windows 11

So how do you clear CMD on Windows 11, 10 or even 8?

And why would anyone want to clear it or erase the CMD history?
It’s because some want a less cluttered screen, and some want to ‘hide’ what they were trying to do with the CMD itself. Either way…

If we’re talking about less clutter — see how you can clear the delivery optimization cache and speed up your PC that way.

Now let’s take a look at some quick ways first to clear the CMD screen on Windows so you can feel at ease when using Command Prompt.

TL;DR: Clear CMD Screen on Windows in SECONDS

  • Run the ‘CLS’ command
  • Close and Reopen Command Prompt
  • Use the Keyboard Shortcuts
  • Use an AutoHotkey Script

For detailed instructions on how to apply these step-by-step, and find out more ways read on.

How to Clear CMD on Windows?
[3 Beginner-Friendly Methods]

There are a couple of easy ways to clear the CMD screen:

Method 1: Run the “CLS” Prompt

get a free vpn ExpressVPN will hide your browsing data from hackers and government, speed up your internet & block annoying ads.

Running the CLS command in Command Prompt can help you clear the screen. Here’s how:

  • Press ‘Win + R’ to open “Run”.
  • Type “cmd” and press ‘Enter’ to open “Command Prompt”.
Type cmd in Run dialog
  • In the “Command Prompt” window, type “cls”, and press ‘Enter’.
Type cls in Command Prompt

Doing so will clear your CMD screen.

Method 2: Use the Shortcut Key

Some PCs do let you use keyboard shortcuts to clear the Command Prompt screen.  Press “Ctrl + L” on your keyboard to clear the screen.

Press CTRL+L on your keyboard

Method 3: Close and Reopen the Command Prompt Window

Close Command Prompt

If you have the Command Prompt window open, close it to clear the command history. Your cmd screen will then be clear.

How to Clear Command Prompt Screen?
[1 Advanced Method]

If you have already tried the cls command and the Alt+F7 shortcut and you’re unable to clear CMD for some reason, there’s another way.

Method 4: Use an AutoHotkey Script

get a free vpn ExpressVPN will hide your browsing data from hackers and government, speed up your internet & block annoying ads.

You can also download and install AutoHotkey from the internet to use a script to clear CMD.

Here’s how:

Download Autohotkey
  • Now create a new script file for “AutoHotkey” (.ahk).
  • Add the following script to it and run it:
    #IfWinActive ahk_class ConsoleWindowClass
    ^l::SendInput cls{Enter}
    #IfWinActive
  • Now press ‘Ctrl + L’ on your keyboard to send the cls command. This would clear your cmd screen.
Press CTRL+L on your keyboard

And that’s it! Quick and easy, right?

When everything is clear — we recommend always using a quality VPN in order to protect and hide your online identity.

Useful tip: How to unhide hidden files on your Windows PC?

Offer
Become Anonymous Online With ExpressVPNTry ExpressVPN for Free Now

ExpressVPN is a top-notch virtual private network used by millions of people worldwide.

It’s a “must-have” for every PC or MAC user who cares about their online privacy & security:

  • It blocks annoying and malicious ads;
  • Stops viruses during online downloads;
  • It hides your identity from hackers, trackers, and even the Government!
  • Unblocks GEO-restricted content.
Other Guides That May Be Useful:

Have anything to say or share your issues regarding this guide?

0 0 votes
Rate This Guide
guest

0 Comments
Inline Feedbacks
View all comments
About the author
Joshua Hohendorf
Joshua Hohendorf - Author

Joshua is an author at WindowsFixHub.

His experience involves Product and Program Management with the knowledge and ability to get things done. Utilizing basic to advanced IT work such as setting up new networks, troubleshooting software, and computer maintenance.