[home]
Windows command line auto-complete
File and directory name completion is not enabled in windows by default. You can enable or disable file name completion for a particular process of the cmd command with cmd /f:{on | off}.
You can enable or disable file and directory name completion for all processes of the cmd command on a computer or user logon session by setting the REG_DWORD values.
To get command line auto completion working using the tab key -
- Start RegEdit.
- go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor.
- double click the value 'CompletionChar'.
- change to 9 (the ASCII value of the TAB key).
- Click OK.
To try the autocomplete, start a command shell, then type cd pro and hit the TAB key. The line should change to cd "Program Files" automagically.
Microsoft
This information is compiled from various sources. All credit is due to the respective authors.
Windows command line auto-complete
File and directory name completion is not enabled in windows by default. You can enable or disable file name completion for a particular process of the cmd command with cmd /f:{on | off}.
You can enable or disable file and directory name completion for all processes of the cmd command on a computer or user logon session by setting the REG_DWORD values.
To get command line auto completion working using the tab key -
- Start RegEdit.
- go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor.
- double click the value 'CompletionChar'.
- change to 9 (the ASCII value of the TAB key).
- Click OK.
To try the autocomplete, start a command shell, then type cd pro and hit the TAB key. The line should change to cd "Program Files" automagically.
Microsoft
This information is compiled from various sources. All credit is due to the respective authors.