Tips for Techies: How to Enable Automatic Command Completion

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Do you have a tip for us? Submit it to TechNet and perhaps you can win a TechNet mug!




Command Completion

Those of you who are familiar with UN*X shells will appreciate the fact that this feature is also available in NT cmd shells. However it's not enabled by default. To do so simply edit the registry: HKEY_CURRENT_USER \Software \Microsoft \Command Processor\CompletionChar By default the value is 0x0, to enable auto completion assign the ASCII value of the key to use (e.g. TAB key is 0x9).

Cheers, --Warren Johnson

For additional information on Command Completion please visit:

How to Enable Automatic Complete for the Command Prompt;EN-US;244407&

HOW TO: Use Automatic Completion with a Command Prompt in Windows XP;EN-US;310530&


To Configure the Command Prompt

Registry Tweaks