Press "Enter" to skip to content

Techy: Autocompletion in Win2k

I run Windows 2000 Professional as a desktop PC (my server runs Debian Linux: using the best tools for the best job IMHO). But one thing I do like about Linux is the ‘auto-complete’ function (start typing a path, hit tab, and the path is filled in for you), but Win 2k doesn’t support it. Or does it?. Yep – once these simple instructons have been followed:

  1. Go Start->Run->’regedit’ (this starts the registry editor: so be careful!)
  2. Go to “My computer”->”HKEY_LOCAL_MACHINE”->”SOFTWARE”->”Microsoft”->”Command Processor”
  3. Change the Command Processor key “CompletionChar” to ’09’ (it doesn’t matter if you have it in decimal or hexidecimal, as since the value is below decimal 10, it’s the same in both). 09 is the ASCII code of the TAB key (and that takes me back to my BBC programming days *sigh*)
  4. Exit regedit

Next time you are at the command line (Start->Run->cmd) try typing something like “cd Doc” and hitting TAB, it’ll change to ‘cd “Documents and Settings“‘ for you. Yipee!