Page 94 - 500
P. 94
Esc Clears the current command
F7 Displays the command history
in a scrollable pop-up box
F8 Displays commands that start
with characters currently on the command line
Alt+F7 Clears the command history
The command-line recall feature works by keeping a history of the
commands entered during the Command Prompt session. To
display this history, press the F7 key. A window pops up that
shows the commands you have recently entered. Scroll through the
history with the arrow keys to select the command you want. Then
press Enter to reuse the selected command, or press the Left Arrow
key to place the selected text on the command line without
executing the command. (This lets you edit the command before
executing it.)
Displaying the pop-up window is not necessary to use the
command history. You can scroll through the history with the Up
Arrow and Down Arrow keys.
The F8 key provides a useful alternative to the Up Arrow key. The
Up Arrow key moves you through the commands to the top of the
command buffer and then stops. The F8 key does the same, except
that when you get to the top of the buffer, it cycles back to the
bottom. Furthermore, F8 displays only commands in the buffer
that begin with whatever you type before you press F8. Type d at
the command prompt (don't press Enter) and then press F8 a few
times. You'll cycle through recently entered commands that start
with d, such as Dir and Del. Now type e (after the d) and press F8
a few more times. You'll cycle through Del commands along with
any others that start with de. You can save a lot of keystrokes with
F8 if you know the first letters of the command you're looking for.
Using Wildcards
Windows 2000, like MS-DOS, recognizes two wildcard
characters: ? and *. The question mark represents any single
character in a file name. The asterisk matches any number of
characters.
In MS-DOS, the asterisk works only at the end of the file name or
extension. Windows 2000 handles the asterisk much more flexibly,