Clear the command line screen prompt

How to clear the Windows command line screen prompt ? MS-DOS allows to manage the Windows system in a very effective way, for example by using scripting to automate tasks. After running multiple commands on the black dos screen, it is very convenient to clear the old messages.

How to clear the Windows command line screen prompt ? Use the cls command.

The cls command stands for CLear Screenline in Windows. It cleans the screen from the previous commands results. It is a very useful batch to have a much clearer vision on your command-line work. The result is an empty command prompt window.

cls command to clear the command prompt
cls command to clear the command prompt

So simply run the cls command in your ms-dos prompt to empty the screen.

REM the following command clears the current windows batch

cls
after cls executin the command line prompt is empty
after cls executin the command line prompt is empty

To go further, let’s check how to copy recursively multiple files and folders with Windows command line.