Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to Enable Automatic Complete for the Command Prompt (Cmd.exe)
Article ID: 244407 - View products that this article applies to.
This article was previously published under Q244407
File name completion and folder name completion are quick-search features of the Windows NT command processor, Cmd.exe. When you type a path or a file name and then press TAB, Cmd.exe searches for all files whose path and file name match your entry.
NOTE: Automatic complete for CMD.exe is not enabled by default in Windows 2000 and later.
When you type a path and then press the TAB key, the command processor searches for all files whose path (but not necessarily the file name) matches your entry. The command processor displays one of the matching file names each time you press TAB. To go backward through the list of file names, press SHIFT+TAB. This article describes how to enable automatic complete for Cmd.exe.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756To enable automatic complete for Cmd.exe, use Registry Editor (Regedt32.exe) to view the following registry key:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
HKEY_CURRENT_USER/Software/Microsoft/Command ProcessorEdit the CompletionChar value, and set the value of REG_DWORD to 9. Note that you do not need to restart your computer.
Article ID: 244407 - Last Review: October 30, 2006 - Revision: 2.3