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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap