text stringlengths 0 4.23k |
|---|
LEFT ARROW |
Moves the insertion point back one character. |
RIGHT ARROW |
Moves the insertion point forward one character. |
CTRL+LEFT ARROW |
Moves the insertion point back one word. |
CTRL+RIGHT ARROW |
Moves the insertion point forward one word. |
HOME |
Moves the insertion point to the beginning of the line. |
END |
Moves the insertion point to the end of the line. |
ESC |
Clears the command from the display. |
F1 |
Copies one character from a column in the template to the same column in the Command Prompt window. (The template is a memory buffer that holds the last command you typed.) |
F2 |
Searches forward in the template for the next key that you type after you press F2. Doskey.exe inserts the text from the template—up to, but not including, the character you specify. |
F3 |
Copies the remainder of the template to the command line. Doskey.exe begins copying characters from the position in the template that corresponds to the position indicated by the insertion point on the command line. |
F4 |
Deletes all characters from the current insertion point position up to, but not including, the next occurrence of the character that you type after you press F4. |
F5 |
Copies the template into the current command line. |
F6 |
Places an end-of-file character (CTRL+Z) at the current insertion point position. |
F7 |
Displays (in a dialog box) all commands for this program that are stored in memory. Use the UP ARROW key and the DOWN ARROW key to select the command you want, and press ENTER to run the command. You can also note the sequential number in front of the command and use this number in conjunction with the F9 key. |
ALT+F7 |
Deletes all commands stored in memory for the current history buffer. |
F8 |
Displays all commands in the history buffer that start with the characters in the current command. |
F9 |
Prompts you for a history buffer command number, and then displays the command associated with the number that you specify. Press ENTER to run the command. To display all the numbers and their associated commands, press F7. |
ALT+F10 |
Deletes all macro definitions. |
If you press the INSERT key, you can type text on the doskey command line in the midst of existing text without replacing the text. However, after you press ENTER, Doskey.exe returns your keyboard to Replace mode. You must press INSERT again to return to Insert mode. |
The insertion point changes shape when you use the INSERT key to change from one mode to the other. |
If you want to customize how Doskey.exe works with a program and create doskey macros for that program, you can create a batch program that modifies Doskey.exe and starts the program. |
You can use Doskey.exe to create macros that carry out one or more commands. The following table lists special characters that you can use to control command operations when you define a macro. |
Character |
Description |
$G or $g |
Redirects output. Use either of these special characters to send output to a device or a file instead of to the screen. This character is equivalent to the redirection symbol for output (>). |
$G$G or $g$g |
Appends output to the end of a file. Use either of these double characters to append output to an existing file instead of replacing the data in the file. These double characters are equivalent to the append redirection symbol for output (>>). |
$L or $l |
Redirects input. Use either of these special characters to read input from a device or a file instead of from the keyboard. This character is equivalent to the redirection symbol for input (<). |
$B or $b |
Sends macro output to a command. These special characters are equivalent to using the pipe ( and *. |
$T or $t |
Separates commands. Use either of these special characters to separate commands when you create macros or type commands on the doskey command line. These special characters are equivalent to using the ampersand (&) on a command line. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.