Windows – global, persistent CMD history

commandhistorywindowswindows-command-prompt

Sometimes I forget how the exact syntax of a CMD command looks and then I would like to search my own CMD history. Clearly, within the same session, you can browse it with the up and down arrow keys but what about the history of former CMD sessions? Is there a file, a log the history gets written to or does it all go to digital Nirvana?

Thanks!

Best Answer

No, Windows command prompt history can't be saved when a session ends.

Related Topic