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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm in the unfortunate position of having to use telnet (windows client -> windows server). Does anyone know if there's a way to see command history (i.e., getting the up arrow and down arrow to recreate previous commands) whilst telnetting? BTW, I know about the standard command history settings for cmd.exe, which have no effect on the telnet session.

I'm using Windows 7.

share|improve this question
up vote 2 down vote accepted

You can use doskey/history to list previous commands.

share|improve this answer
(And consider having something like WinSSHD installed; it even provides a much better terminal emulation.) – grawity Apr 23 '12 at 9:33
I'd forgotten all about doskey! After calling it with the /listsize=n arg I've got just about what I need. Thanks! – Ewen Cartwright Apr 23 '12 at 14:28

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.