![]() For example, if you type cd at the input line and then press F8, it will cycle through only those commands in your history which begins with "cd".į9 allows you to run a specific command from the command history. You can use this option to filter your history. All your input history will be erased.į8 - moves backwards through the command history, but only display commands which begin at the specified character. In the example above, the cursor is located at "e" char, so when I specify "o", it will delete the characters "ech":Īlt+F7 - clears the command history. It acts like the Up arrow key, but repeats only one command.į4 - Deletes the text to the right of the cursor position up to the specified character To copy only the portion of the command up to "dir", enter space bar (space) as the character to copy up to.į3 - repeats the previously typed command. Then if I press Esc to clear the input and press F2, it will ask me for char to copy up to: ![]() I can locate it in the history using the Up arrow. For example, I have dir c: in my history. Now press F1 multiple times: every time you press F1, one character from the command will appear on the screen.į2 - repeats the previous command in history from the beginning up to the specified character. Press the Up arrow to display some previously entered command and press Escape to clear the command line. You can even set separate keys for filename completion and directory completion.į1 - Displays previously typed command(s) one character at a time. Similarly, if you are at C:\ and you type, CD C:\Win and press the Tab key, it will be auto complete C:\Windows for you, This is a very useful key and can be customized from the Registry. For example, if you type c:\prog in the command prompt window and then press the Tab key, it will be replaced with "c:\Program Files". Tab - auto-completes the file name or directory/folder name. You can navigate this list by using Up/Down arrow keys and press Enter to execute the selected command again: After that, the newly executed command will be added to the end of the command history and its position will be lost.į7 - shows your command history as a list. The Up and Down arrow keys store the position in the command history until you execute a new command. Every time you press the Up arrow key or F5, the command prompt will cycle through the previously entered commands one-by-one in the reverse order of input.ĭown arrow key - scrolls the command history in the order in which they were entered in one session, meaning, the down arrow key's order of cycling through commands is opposite to the Up arrow key. The command prompt stores a history of the commands you type in one session until you exit it. Up arrow key or F5 - returns to the previous command. They are as follows:ĬTRL + ↑ / CTRL + ↓ - Scroll line up or downĬTRL + PgUp / CTRL + PgDn - Scroll whole page up or down Windows 10 has default text editing shortcuts enabled in the command prompt window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |