CompletionChar

HKLM\SOFTWARE\Microsoft\Command Processor

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

Description

Specifies a character that activates the file-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 file-name completion feature, set the value of this entry to 0x0.

Change method

To change the value of this entry, use Command Processor (Cmd.exe).

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 file name completion and 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+F (0x6).

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

Related Entries

Page Image

Page Image