Well, you’re able to do this by pressingCtrl + Cduring the execution of the command.
Did you know that these function keys play a very useful role in the Command Prompt execution?
For example, if the last command wasdir, youll have to pressF1three times becausedirhas three characters.
For example, if the last command wasipconfig /displaydnsand you pressdafter pressingF2, the Command prompt will pasteipconfig /i.e.
it will paste all characters befored.
c)F3 It pastes the last executed command (the whole command).
d)F4 It displays a dialog which asks the user to enter the character to delete up to.
e)F5 It pastes the last executed command.
When pressed repeatedly, it shows all the commands executed, in the reverse order of execution.
Once the oldest command i.e.
f)F6 Pastes^Zto the command prompt.
g)F7 It displays a navigable list of previously used commands in the form of a dialog.
h)F8 It pastes recently executed commands.
kindly note that it is different fromF5because it keeps cycling the previously used commands.
i)F9 As mentioned above, the command prompt stores a list of all the executed commands.
This list is numbered from0to9.
When you pressF9, youre asked to enter the number of the command, which you want to use.
For example, to use the first command, type0.
For using the third command, type2, and so on.
It is, and when I say customizable, I mean really customizable.
you could always execute prompt alone, without options, to return it to its sometimes boring default.
You could then attach the file to your forum post.
The command on the left will be executed first, followed by the next command, and so on.
But what if you just want to copy a short section of text to the clipboard?
Therobocopycommand with these options functions identically to an incremental backup software tool, keeping both locations in sync.
#9 Run cmd as administrator without using the mouse
There are several commands that require the Administrators privilege.
For running these commands, it’s crucial that you run cmd as administrator.
However, right-clicking the cmd.exe file and selectingRun as Administratorfrom the list is highly inconvenient.
We can help you make CMD run with Administrators privileges every time without using the mouse.
Right choose the shortcut file and punch Properties.
Under theShortcuttab, tap on the button namedAdvanced.
A new dialog box appears.
Check the checkbox labeledRun as Administratorand ClickOK.
ClickOKagain to close thePropertiesWindow of the shortcut.
Then press the tab key over and over to cycle through all of the available possibilities.
Typecd c:\windows\and then press tab until you see the folder youre looking for.
You know how your smartphones texting app automatically guesses what it is you want to throw in next?
Tab completion in Command Prompt is sort of like that… only better.
Also ReadA-Z Windows CMD Commands List
Read More
source: www.techworm.net