Friday, May 09, 2003 7:48 AM Jan Tielens

Autocompletion in the command prompt!

Roy Osherove posted a link to some cool Registry settings. One of them I found quite usefull: Enable AutoCompletion in Command Prompt. Once this setting is done, you can use the tab key for autocompleting while typing in the command prompt (cmd)! For example you type "cd c:\progr" (without return) and press the tab key, "progr" will be completed to "Program Files".

To enable this setting, change the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
Change this value (or create the key, DWORD) to 9.

Comments

# re: Autocompletion in the command prompt!

Thursday, May 08, 2003 7:45 PM by Dumky

This is nothing compared to the type of completion you can get from shells like bash under linux or cygwin, but it's definitely something. I wonder why it isn't turned on by default though (remembering the key is a pain)...

See ya,
Dumky

# re: Autocompletion in the command prompt!

Friday, May 09, 2003 2:23 AM by Chris Szurgot

You can use TweakUI to add this, and it's enabled by default in WinXP.