Page 1 of 1

How to retrieve command history? Thanks

Posted: 22 Oct 2014 19:03
by mdivk
Hello,

Yes I know this forum is focus on batch question, and I also know that many many of you guys are very experienced old dos guys. :D
That's why I post my question here:

I often use cmd, and sometimes my command is length (e.g. I use bcp to import data and the bcp command is usually lengthy), I wonder where the system stores the command history and how can I retrieve it?

Thanks

Re: How to retrieve command history? Thanks

Posted: 22 Oct 2014 19:32
by foxidrive
doskey stores history.

Type doskey /? at the cmd prompt.