Command line completion in Win2K

For those of you that still use the command line for doing things, here’s a handy tip for Win2K. After making this change to your registry, you can use the tab key to complete file/directory names (like UNIX supports).

Enter a partial name, and press the tab key. It will expand the line to the first item alphabetically that matches your partial name. Hit tab again, and it will display the next and so on. When it reaches the last, it will loop to the first name again.

Modify as follows:

In HKEY_CURRENT_USER/Software/Microsoft/Command Processor.
edit the CompletionChar value, and set the value of REG_DWORD to 9. Note that you do not need to restart your computer.

Comments are closed.