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!

 

Mug!

bldserv

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

https://support.microsoft.com/default.aspx?scid=KB;EN-US;244407&

HOW TO: Use Automatic Completion with a Command Prompt in Windows XP

https://support.microsoft.com/default.aspx?scid=KB;EN-US;310530&

Cmd

https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx

To Configure the Command Prompt

https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/commandpromptoptions.mspx

Registry Tweaks

https://www.microsoft.com/technet/prodtechnol/winntas/maintain/mngntreg/regtwk.mspx