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

Responses are currently closed, but you can trackback from your own site.

Comments are closed.