Saturday, June 28, 2008

Command Prompt and Autocompletion

Command Prompt (cmd.exe) since Win2K has been able to complete a command by just typing in the partial command followed by a Tab on the keyboard.

However, some recent unwanted modification to the registry could cause this lovely feature to be deactivated.

To re-enable this feature, do the following steps:
  1. Open the Registry Editor
  2. Go to HKCU\Software\Microsoft\Command Processor
  3. On the right pane, modify the DWORD value of CompletionChar to 9
  4. Exit the Registry Editor to effect the changes
This modification can also be applied to the HKLM hive.

Cheers!

No comments: