PathCompletionChar

HKCU\Software\Microsoft\Command Processor

Data type Range Default value
REG_DWORD 0x0 | 0x1 - 0x1F | 0x20 0x40

Description

Specifies a character that activates the directory name completion feature in the command processor (Cmd.exe).

To specify a character, enter the hexadecimal value of an ASCII control character other than 0x20 (space). For example, 0x4 represents Ctrl-D, and 0x6 represents Ctrl-F. To disable the directory name completion feature, set the value of this entry to 0x0.

Change method

Use Command Processor (Cmd.exe) to change the value of this entry.

Note Image Note

CompletionChar and PathCompletionChar can appear in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. If both appear in the registry, the value of the entry in HKEY_CURRENT_USER takes precedence over the value in HKEY_LOCAL_MACHINE.

The command line switches take precedence over the registry settings.

Tip Image Tip

To enable or disable directory name completion for one use of the command processor, at the command prompt, type CMD /F:ON (enable) or CMD /F:OFF (disable). This command sets the completion character to CTRL+D (0x4).

For more information about the path completion feature, at a command prompt, type CMD /?

Related Entries

Page Image

Page Image