DOSKEY Features

Maybe I'm the last person on the planet to learn about this, but I have new love for my command prompt. I live in multiple command windows all day long so I can't believe I haven't seen this before. I tested this on Vista and Win2k3.

F2 + character: Prints the last command up to the specified character
F3: Moves down in the history list
F4 + character: Deletes the current command up to the specified character
F5: Moves up in the history list
F7: Shows the command history which you can scroll through
F8: Start typing a command from your history and press F8. The most recent match will be autocompleted
F9 + number: Directly reference a line in the command history

I found these on accident when I fat-fingered something. What else am I missing?

Comments (2)
  1. Anonymous says:

    I think the main thing you’re missing is PowerShell.

  2. Anonymous says:

    I think that, DOSKEY is first introduced with DOS 6.22 version. I’ve started my career as Computer Facutly, during those days, ie., around 1996, DOSKEY is the fundamental script execution engine.

    I’m an ardent fan of DOSKEY. I’m surprised to read this topic after 12yrs. Dude, you are the second person that become habituated to DOSKEY.

    Keep going and explore more.

Comments are closed.

Skip to main content