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