Saving windows command prompt history

Unlike Linux the command prompt history is not saved between sessions.
You can see current history by pressing F7 key but as soon as you close the command prompt window that history is gone..
F7history

To save the history to a file for later use just type
doskey /history >c:\history.log

Both comments and pings are currently closed.

Comments are closed.