How to Activate Windows Command Prompt History

Asked By 70 points N/A Posted on -
qa-featured



I would like to be able to view the history of every command I type into the DOS command prompt on my Windows machine. The problem is I do not have a clue how to do this. I am not sure if the command prompt actually saves all of the commands I type. How do I find out if the commands are being saved on a file somewhere? How can I activate the prompt to save any command I type?

SHARE
Answered By 0 points N/A #186216

How to Activate Windows Command Prompt History

qa-featured

Unfortunately, windows command prompt history cannot be stored when the session ends, rather the history can be viewed before closing the session. And below are some ways to view the command prompt history:

1) You can press F7 key on the keyboard whiles the command prompt is open to view all history.

2) While in the command prompt, you can type "doskey /history > history.txt

Login/Register to Answer

Related Questions