|
Microsoft Windows Command Prompt filename completion |
|
|
|
|
Written by Administrator
|
|
Sunday, 11 September 2005 07:59 |
Microsoft Windows Command Prompt filename
completion - 2003-11-23
This tip is very useful for anyone who needs to use a Windows
command prompt. Most Linux users know that hitting tab
will automatically complete the filename or directory name being
typed(depending on which shell you use). This can greatly
simply the task of typing a long directory name or filename.
Windows by default doesn't behave this way but you can make it
by doing the following:
1) Open the registry editor(regedit.exe)
2) Traverse the registry till you reach
the following key:
(Current User Only)
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
(All Users on the Computer) HKEY_LOCAL_MACHINE\Software\Microsoft\Command
Processor
3) Add(or edit) new DWORD values named CompletionChar and
PathCompletionChar.
4) Set the value of the above DWORD to 9(with Hexidecimal
option selected) for tab complete(You can specify any key using
its hex value).
|