How to retrieve command history? Thanks

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
mdivk
Posts: 15
Joined: 12 Jul 2011 09:37

How to retrieve command history? Thanks

#1 Post by mdivk » 22 Oct 2014 19:03

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

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: How to retrieve command history? Thanks

#2 Post by foxidrive » 22 Oct 2014 19:32

doskey stores history.

Type doskey /? at the cmd prompt.

Post Reply