I've used the Bash shell on Linux for years and I'm very fast with it. By frequently appealing for autocomplete by hitting the tab key, I'm able to write long commands in few keystrokes.
Recently at my job I've started using the Windows Command Prompt and Cmd. I'm very slow in Cmd. It has an autocomplete feature, but it works differently. I think I understand how it works, but I don't understand how to use it effectively, in fact it often slows me down. So I ask, how to use how to use Cmd's autocomplete effectively?
Let me give an example. First I'll describe how I use Bash, then how I try to use Cmd, and what goes wrong.
Suppose the folders in the current directory have names made from a continent and a country, eg.
europe-france, and that I want to change folder to
The way Bash's autocomplete works is that the tab key expands only if there is a unique expansion. Otherwise, nothing happens, but you can press tab a second time to list possible expansions.
So to move to Norway in Bash, I type
cd and then make the following keystrokes:
- e tab for
- n tab (nothing happens)
- tab again. It lists
europe-norwayas potential expansions.
- o tab for
Great! Thanks Bash.
However, when I try the same keys in Cmd, it expands e tab to
europe-albania, which happens to be the first folder beginning 'e', but isn't the folder I wanted! What should I do now—is it possible to make Albania into Norway? Or must I cancel the command with Escape and type everything from scratch?