0
Thanks

A few words of thanks would be greatly appreciated.

Windows - Auto-completion of commands in the console


When using Linux a practical feature is to be able to complete a command by typing the first characters and pressing the TAB key to resume the rest. This feature can allow you to save time(Typing lengthy and ambiguous command lines)and avoid making mistakes when entering commands or directory names on the keyboard.

Under Windows, it is possible to activate this feature by editing the registry.

Solution:

  • Click on Start/Run, then type regedit and press OK to validate.
  • Locate and open the following:
  • HKEY_CURRENT_USER/ Software/Microsoft/CommandProcessor 
  • Double click on the CompletionChar key.
  • Change the value of the key to: 9
  • Close the window and restart Windows

Now; you just have to type a path and the beginning of the command, and then press Tab to complete.

0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Windows - Auto-completion of commands in the console », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).