What to type on DOS to repeat the last command

  • Thread starter Thread starter fourier jr
  • Start date Start date
  • Tags Tags
    Dos Type
fourier jr
Messages
764
Reaction score
13
does anyone remember DOS? what do I type to repeat the last thing I typed, instead of typing it all out again, if there is such a thing?
 
on Phys.org
If I recall correctly you can just press the up arrow
 
junglebeast said:
If I recall correctly you can just press the up arrow

On some older OS's implementation of the DOS box, you may need to type DOSKEY first, before the up arrow recall feature works. In your DOS box, just type HELP DOSKEY to learn more about the function. You can try the up arrow to see if it works at recalling the last command. If it doesn't, just type DOSKEY, and after that (in that active DOS window), it should keep working.
 
Last edited:
wow that's even easier than I thought... thanks for the tip :smile:
 
Up arrow or <F3> still work in the dos console window. <F7> brings up a history of commands, allowing you to choose one from the list.
 
the up -down key will do.but i have a problem accessing files contentsthrough the dos .when i type "type"
 
Yes, as said, F3 repeats the previous command or the up arrow key... You can then use the left and right arrow keys to edit the line.

j
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
18
Views
7K