• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

how to copy same command DOS

do you know how to retype same command?
0
Hiroyuki Tamura
Asked:
Hiroyuki Tamura
  • 3
  • 2
5 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Depends on what you mean.

True DOS or a Windows Command Line in XP/Vista?

In a Command line, you can use the Up and down arrow keys to cycle through commands typed in that session.

In true DOS, you can press F3 for the LAST command (also works on the command line), or you would have to install the DOS utility DOSKEY which provides the same up and down arrow key scrolling through prior commands.
0
 
QlemoC++ DeveloperCommented:
cursor up, or F3. With F7 you will get a list of commands you typed already.
0
 
t0t0Commented:
Press the same QWERTY keys you pressed before :-)
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
QlemoC++ DeveloperCommented:
t0t0,
there is a problem in remembering which keys that were ;-)
0
 
t0t0Commented:
Qlemo
I was kidding.... :)

Afterall, apart from stating the obvious, both you and leew have covered just about everything else.

Although........... for many years, I owned a multi-layered programmable keyboard (Cherry G80-2100) which is no longer available. It had the capability to record multi-line variable-length commands as single keystrokes. It could save and load these to files on the hard drive (acting as a true input/output device). Mind you, about 15 years ago, it weighed in at £180. The manager of the sales office personally delivered it to my home address. Great for macros, complex commands, user IDs and passwords, different layers for different languages etc....
0
 
t0t0Commented:
Hey, I didn't expect that. Thank you....
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now