mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[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:
parent
d4433ee0c9
commit
22561d5046
3 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -160,6 +160,11 @@ HKCU,"Control Panel\International\Geo",,0x00000012
|
|||
HKCU,"Control Panel\Cursors",,,"ReactOS Default"
|
||||
HKCU,"Control Panel\Cursors","Scheme Source",0x00010001,0x00000002
|
||||
|
||||
; CMD Settings
|
||||
HKCU,"SOFTWARE\Microsoft\Command Processor","CompletionChar",0x00010001,0x09
|
||||
HKCU,"SOFTWARE\Microsoft\Command Processor","DefaultColor",0x00010001,0
|
||||
HKCU,"SOFTWARE\Microsoft\Command Processor","EnableExtensions",0x00010001,1
|
||||
|
||||
; PowerCfg
|
||||
HKCU,"Control Panel\PowerCfg","CurrentPowerPolicy",2,"0"
|
||||
HKCU,"Control Panel\PowerCfg\GlobalPowerPolicy","Policies",0x00030003,01,00,00,00,00,\
|
||||
|
|
|
@ -469,6 +469,10 @@ HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume",,0x00
|
|||
|
||||
; CMD Settings
|
||||
HKLM,"SOFTWARE\Microsoft\Command Processor","AutoRun",0x00020000,""
|
||||
HKLM,"SOFTWARE\Microsoft\Command Processor","CompletionChar",0x00010001,0x40
|
||||
HKLM,"SOFTWARE\Microsoft\Command Processor","DefaultColor",0x00010001,0
|
||||
HKLM,"SOFTWARE\Microsoft\Command Processor","EnableExtensions",0x00010001,1
|
||||
HKLM,"SOFTWARE\Microsoft\Command Processor","PathCompletionChar",0x00010001,0x40
|
||||
|
||||
; Uninstall Application list
|
||||
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall",,0x00000012
|
||||
|
|
Loading…
Reference in a new issue