July 9, 2008

A Hotkey For Command Line Directory Completion - Visual Enhancement Windows XP Registry Hack





If you work at the command line for a considerable length of time, you will want this hack. Specify a key, which when pressed, will complete the directory name.

Navigate to:
HCU\ Software\ Microsoft\ Command Processor
And to:
HLM\ Software\ Microsoft\ Command Processor

The first key above is user-specific, the second is system-wide. Change the setting of PathCompletionChar to the DWORD hexadecimal value of the control character. For example, the value for the [Tab] key is 9, [Ctrl] + [D] is 4, and so on… each key or key combination has a value associated.

The complete list of possible control characters can be found at http://en.wikipedia.org/wiki/ASCII. The representation is in the form ^letter, where the caret character represents the [Ctrl] key. Thus ^Z = [Ctrl] + [Z], and has a hexadecimal value of 26.

At the command prompt, when you type in the first letter or letters of a directory and press the completion key, it will display the first directory path matching your entry. Press the key multiple times to scroll through the choices.

Use this in conjunction with “A Command Line Command Completion Hotkey.”
Related Posts with Thumbnails
 

Copyright © 2009 ProBlogger Diary. All Rights Reserved. Brought to you by ebizelindia.org