What to type on DOS to repeat the last command

  • Thread starter Thread starter fourier jr
  • Start date Start date
  • Tags Tags
    Dos Type
AI Thread Summary
In DOS, users can easily repeat the last command by pressing the up arrow key. If this feature doesn't work, typing "DOSKEY" in the command line may be necessary to enable it. Additionally, the F3 key can also be used to repeat the previous command. For accessing a history of commands, the F7 key displays a list from which users can select previous commands. Users can edit the command line using the left and right arrow keys.
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?
 
Computer science news 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
 
Back
Top