[CMD][BOOTDATA] Populate 'Command Processor' registry data (#7114)

Improve compatibility.
JIRA issue: CORE-8002
- Fix the default values of AutoCompletionChar
  and PathCompletionChar in cmd.exe.
- Populate "SOFTWARE\Microsoft\Command
  Processor" registry key like Win2k3 does.
This commit is contained in:
Katayama Hirofumi MZ 2024-07-09 22:40:22 +09:00 committed by GitHub
parent d4433ee0c9
commit 22561d5046
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View file

@ -106,10 +106,10 @@
* See https://technet.microsoft.com/en-us/library/cc978715.aspx
* and https://technet.microsoft.com/en-us/library/cc940805.aspx
* to know the differences between those two settings.
* Values 0x00, 0x0D (carriage return) and 0x20 (space) disable completion.
* Values 0x00, 0x0D (carriage return) and >= 0x20 (space) disable completion.
*/
TCHAR AutoCompletionChar = _T('\t'); // Default is 0x20
TCHAR PathCompletionChar = _T('\t'); // Default is 0x20
TCHAR AutoCompletionChar = 0x20; // Disabled by default
TCHAR PathCompletionChar = 0x20; // Disabled by default
SHORT maxx;