Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to remember the command history in CMD.EXE (Windows 7), between sessions?

Or is there some enhancement/wrapper/replacement which has this (basic IMO) feature?

share|improve this question
Maybe DOSKEY still works ... look into that. – user3463 Dec 9 '10 at 16:31

1 Answer 1

up vote 4 down vote accepted

There is basic history functionality for the current session using F7, although across sessions you'll want PyCmd.

PyCmd is a Python wrapper for cmd.exe which brings a couple features of traditional UNIX-based shells to the table, including command history and "smart" tab completion.

alt text

share|improve this answer
Thanks for the suggestion. PyCmd seemed nice to me, but rather buggy (and not very active).… – leonbloy Jan 5 '11 at 18:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.