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



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.