Ryan's Rambling

Sunday, December 05, 2004

CMD.EXE keyboard short-cuts (from the past)

I accidentally stumbled across a shortcut to present the list of commands in your command line history. Most likely from hitting the key while I thought the focus was in another window.

It took a bit of hunting but I was able to find out a few keys that may be of some help (and bring back some good old DOS memories ;-)).

F7
pops up a dialog listing your prior commands and you can choose one. Note: selecting the entry and hitting enter actually executes the command. If you want to edit it before running it then use the right arrow to select the command.

Alt+F7
Will clear your command history. Now that is really worthwhile.

F9
Will present a dialog for you to enter a command number to select and execute. If you can remember the order of your command history you are a better cmd user then I.

0 Comments:

Post a Comment



Links to this post:

Create a Link

<< Home