clear is not recognized as an internal or external command operable program or batch file.


clear is not recognized as an internal or external command
C:\Users> clear
'clear' is not recognized as an internal or external command,
operable program or batch file.


C:\Users> clear screen
'clear' is not recognized as an internal or external command,
operable program or batch file.

You defiantly got the above error while trying to clear the screen on a Command Prompt on your Window 8/10 operating system? didn't you? Well! I guess you are very much used to using Terminal command on macOS or Linux so you used the command clear on Windows you need to use cls i.e. a command to clear the screen.

Example:
C:\Users> cls

To know more about the command type: help cls

Example:
C:\Users> help cls
Clears the screen.

CLS

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram