Welcome to MSDN Blogs Sign in | Join | Help

System.Blog.Martens.Ben

The Tech Blog of Ben Martens
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?

Posted: Friday, March 21, 2008 11:57 AM by benmartens

Comments

Daniel said:

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

# March 21, 2008 5:29 PM

Chakravarthy said:

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.

# May 7, 2008 2:26 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker