Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
HKLM\SOFTWARE\Microsoft\Command Processor
Data type | Range | Default value |
---|---|---|
REG_DWORD |
0x0 | 0x1–0x1F | 0x20–0xFF |
0x40 (Completion disabled) |
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. 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 or to a value greater than or equal to 0x20.
Value | Meaning |
---|---|
0x0 |
Disables completion. |
0x1–0x1F |
Corresponding ASCII control character activates completion. |
0x20 or greater |
Disables completion. |
To change the completion character in Windows Server 2003, use the registry editor Regedit.exe. You can also change the value of this entry by using Cmd.exe, but only for the duration of that Cmd.exe's execution.
If you make changes to the value of this entry by editing the registry directly, you must restart Cmd.exe to make the changes effective.
Notes
CompletionChar can appear in HKLM and HKCU. If both appear in the registry, then the value of the entry in HKCU takes precedence over the value in HKLM. The command-line parameters take precedence over the registry settings while using Cmd.exe.
Assigning the values 0x0, 0xD, or 0x20 to this entry disables file name completion rather than assigning a completion character.
If you use the console Paste function to enter text into a CMD window, you might trigger completion if the characters you paste contain completion characters.
Tip
For more information about the file name completion feature, at the command prompt, type: CMD /?
The datatype of this entry can be either REG_DWORD or REG_SZ.
Tip
To enable or disable file name completion and directory name completion for one use of Cmd.exe, at the command prompt, type CMD /F:ON (to enable) or CMD /F:OFF (to 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 /?