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
More Posts related to DOS,
More Posts:
- Enable Native Dark Mode in Notepad++ - NotepadPlusPlus
- Fix: Teams is in preview in Safari on Mac - Teams
- How to remove/delete a directory in Linux/macOs - Linux
- List of Java JDBC Database Driver Jars, Classes and URLs Details - Java
- SharePoint Designer Workflow error - Coercion Failed: Input cannot be null for this coercion - SharePoint
- Open VS Code Command Palette using Keyboard Shortcut - Shortcuts
- How to make a dummy phone call from Android Emulator device - Android
- [Fix] Docker Error response from daemon: manifest for :latest not found: manifest unknown - Docker