CLS – Windows CMD Command

Clear the screen.

Errorlevels

If the screen is successfully cleared %ERRORLEVEL% = unchanged, typically this will be 0 but if a previous command set an error level, that will be preserved (this is a bug).

If a bad switch is given = %ERRORLEVEL% = 1

CLS is an internal command.

You may also like...

1 Response

  1. zortilo nrel says:

    You should take part in a contest for one of the best blogs on the web. I will recommend this site!

Leave a Reply

Your email address will not be published. Required fields are marked *