How to turn on AutoComplete in Windows Command Prompt

Turn on auto-complete in CMD permanently

To enable auto-complete permanently in command prompt, run regedit to open the Registry Editor, and navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

You will have to edit the CompletionChar value. The default is 40 in Hexadecimal. Set the value of REG_DWORD to 9. This will enable folder name completion.

Next, double-click on PathCompletionChar and change its value to 9.

This will set the TAB key as the control character.

If you want to use the same control characters that you use for a single command session as mentioned in the first part of this post, then set the values as follows:

  • 4 for Ctrl+D
  • 6 for Ctrl+F

The file name auto-completion feature will work on folders too, because Windows will search for the complete path and match against both file and folder names.

Found here – https://www.thewindowsclub.com/autocomplete-in-windows-command-prompt