Is it possible to see command history when telnetting into Microsoft Telnet Server?

1

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.

Ewen Cartwright

Posted 2012-04-23T08:19:52.627

Reputation: 113

Answers

2

You can use doskey/history to list previous commands.

user1686

Posted 2012-04-23T08:19:52.627

Reputation: 283 655

(And consider having something like WinSSHD installed; it even provides a much better terminal emulation.) – user1686 – 2012-04-23T09:33:05.150

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 – 2012-04-23T14:28:19.100