Monday 1 June 2009

Auto-complete cmd in Windows (like in bash)

Mostly for Win-XP: It is really handy to have an auto-complete with standard windows shell, cmd. Surprise: it works! The default expand sequence is Ctrl-F.

To change it to more popular tab, open (win-R) regedit and go to HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor, change CompletionChar and PathCompletionChar to 9.

That's it.

Open your cmd window again and enjoy.

The more detailed description you cand find at http://support.microsoft.com/kb/310530

2 comments:

Anonymous said...

On Win7 auto-complete for file names works by default. Tried to make it work for commands that are in the path and it didn't work, not by default, nor after applying the change recommended here.

Anonymous said...

only for paths 'though.. not working for commands