clear cmd in windows 10 code example Example: clear in windows cmd cls #this command clears the command window in Windows Command Prompt