CLS – Windows CMD Command

Clear the screen.

Syntax
      CLS

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

Example

Echo Hello
CLS
Echo You didnt see that

CLS is an internal command.

You may also like...

3 Responses

  1. zoritoler imol says:

    A person necessarily help to make critically articles I would state. This is the first time I frequented your website page and up to now? I amazed with the analysis you made to create this actual submit extraordinary. Fantastic activity!

  2. Magda says:

    Pretty nice post. I just stumbled upon your weblog and wished to say
    that I’ve truly enjoyed surfing around your weblog posts.
    In any case I’ll be subscribing in your feed and I’m hoping
    you write again very soon!

  3. 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 *