Workplace IT

How to clear the command prompt screen using the Cls command.

Clear the Command Prompt screen with the cls command, without closing and reopening the window.

· 1 min read
Illustration of a terminal window being cleared

The Cls command clears the command prompt screen of all previously entered commands.

This can be really useful to help you focus and start again without needing to open and close the command prompt.

Open Command Prompt as Administrator

Screenshot of opening Command Prompt as administrator

1) Press the Windows Key 2) Type cmd and press return 3) Right Click the Command Prompt icon and select ‘ Run as Administrator’

Copy and Paste the Command

Screenshot of the cls command entered in Command Prompt

In the command prompt window enter the below command and press return

cls

This will clear the command prompt screen of any previously entered information.

This command is available in all versions of Windows and MS-DOS.

LewisA cheeky geek, who loves a good side project. A proven IT leader with multiple strings in his bow. Particularly interested in implementing technology to streamline workloads, always on the lookout to automate processes and save time.

Keep reading