Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What to type on DOS to repeat the last command

  1. Jun 11, 2009 #1
    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?
     
  2. jcsd
  3. Jun 11, 2009 #2
    If I recall correctly you can just press the up arrow
     
  4. Jun 11, 2009 #3

    berkeman

    User Avatar

    Staff: Mentor

    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: Jun 11, 2009
  5. Jun 11, 2009 #4
    wow that's even easier than I thought... thx for the tip :smile:
     
  6. Jun 11, 2009 #5

    rcgldr

    User Avatar
    Homework Helper

    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.
     
  7. Jun 26, 2009 #6
    the up -down key will do.but i have a problem accessing files contentsthrough the dos .when i type "type"
     
  8. Jul 21, 2009 #7
    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: What to type on DOS to repeat the last command
  1. Ms Dos (Replies: 4)

Loading...