18
of 21
Automatically Complete Commands With Tab Completion
Tab completion is another Command Prompt trick that can save you lots of time, especially if your command has a file or folder name in it that you're not completely sure of.
To use tab completion in the Command Prompt, just enter the command and then the portion of the path that you do know, if at all. Then press the tab key over and over to cycle through all of the available possibilities.
For example, let's say you want to change directories to some folder in the Windows directory but you're not sure what it's named. Type cd c:\windows\ and then press tab until you see the folder you're looking for.
The results cycle in order or you can use SHIFT+TAB to step through the results in reverse.
You know how your smartphone's texting app automatically guesses what it is you want to type next? Tab completion in Command Prompt is sort of like that... only better.
No comments:
Post a Comment