how to clear the command prompt history in windows 8 code example
Example: how to clear my cmd history in windows
//----- The simplest way is to restart the Command Prompt. The command history is cleared automatically every time you close it and start the command prompt again.