Select a
command using the Up Arrow and Down Arrow. Press Enter to select the command. DosKey
types the selected command at the command prompt. Press Enter again to execute the command.
You can also note the sequential number in front of the command and use this number
with the F9 key.
ALT+F7 Deletes all commands stored in the current command history buffer.
F8 Displays a single command from the command history that starts with the characters in the
current command. Press F8 multiple times to cycle through the list of matching commands.
F9 Prompts you for a history buffer command number, and then displays the command
associated with the number you specify. Press Enter to run the command. Press F7 to display
a list of commands in the command history buffer, along with their associated command
number.
ALT+F10 Deletes all macro definitions.
Third, you can use this command to create macros. The macros automate some command line
tasks, similarly to batch files, but far more inconveniently. You can also use these macros to interact
with applications. However, the number of applications that can use DosKey macros is extremely
limited. For example, you could use a DosKey macro with the FTP utility described in the ???Managing
FTP Servers with the FTP Utility??? section of Chapter 17.
Pages:
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361