Wednesday 12 March 2008

Autocomplete using tab in windows command line prompt

One of my bug-bears for years has been the lack of auto-completing in the windows CMD promt.


I have always used *nix tools like cygwin to provide this.


Now I find out that this has been built in for years....


It was simply disabled.


The fix is very easy. A Registry edit:


HKEY_CURRENT_USER/Software/Microsoft/Command Processor/CompletionChar= 9


Thats it.


This is a microsoft fix. But why did they fail to make it standard...?


FYI: here is the registry export of what it looks like when done.


=============================================


Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001

No comments:

Post a Comment