How do I enable folder name completion?

A. You can set the registry entry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar to 9 and use the Tab key to enable filename completion. However, you can use another setting to enable path completion (but not filename completion). To do so, complete the following steps:

  1. Start the registry editor (regedit.exe).
  2. Move to HKEY_CURRENT_USER\Software\Microsoft\Command Processor.
  3. From the Edit menu, select New, then DWORD value.
  4. Enter the name PathCompletionChar.
  5. Double-click New Value, and set the value to the desired key (4 sets to Ctrl+D).
  6. Click OK.
  7. Close the registry editor.

You don't need to restart Windows; just start a new Command Prompt window (cmd.exe).

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.