How To Clear Command Prompt History in Windows

0

How to clear command prompt history in Windows? If you own Windows and using command prompt throughout your work day then you must need to periodically clear your command prompt history. And yes that is possible even if your command prompt windows is opened.

How To Clear Command Prompt History in Windows?

There is a simple keyboard shortcut for doing so while the command prompt is still open,

Alternatively, the command history is cleared every time you exit wand restart the command prompt.

If you want to explore further, you will find that there are very few questions about the command prompt that are not answered on the SS64 reference website.


Keyboard shortcuts for the Windows CMD shell and PowerShell.

Group Policy GPO