Windows - Auto-completion of commands in the console

April 2017






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.

Related


Published by netty5. Latest update on November 11, 2009 at 04:31 AM by jak58.
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).