Microsoft Windows Registry Guide, Second Edition

Command Prompt

If you're a command-line junkie like me, you'll appreciate file name and directory completion. The command prompt window supports both of these features, but you have to enable them first. Table 5-27 describes the settings in the Command Prompt category in Tweak UI. Set the value CompletionChar to the keystroke that you want to use for file name completion, and set the value PathCompletionChar to the keystroke that you want to use for directory completion. You can use the same keystroke for both values. The value you use for key is the ASCII key code. Thus, TAB is 0x09. The value WordDelimiters is a string of characters that delimit words on the command line when you press CTRL+RIGHT ARROW or CTRL+LEFT ARROW. Create these values if they don't exist.

Table 5-27 Values in the Command Prompt Category

Setting

Name

Type

Data

HKCU\Software\Microsoft\CommandProcessor

File name completion

CompletionChar

REG_DWORD

key

Directory completion

PathCompletionChar

REG_DWORD

key

HKCU\Console

Word separators

WordDelimiters

REG_SZ

Separators

Enable selection coloring

EnableColorSelection

REG_DWORD

0x00 | 0x01

Категории