reg add "HKEY_CURRENT_USERConsole" /v "ScreenBufferSize" /t REG_DWORD /d 65536100 /f
reg add "HKEY_CURRENT_USERConsole" /v "WindowSize" /t REG_DWORD /d 2293860 /f
reg add "HKEY_CURRENT_USERConsole" /v "QuickEdit" /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor" /v "DisableUNCCheck" /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor" /v "PathCompletionChar" /t REG_DWORD /d 64 /f
reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor" /v "CompletionChar" /t REG_DWORD /d 9 /f
ver | findstr /r "5." && (
reg add "HKEY_CLASSES_ROOTFoldershellDOS" /v "" /t REG_SZ /d "@shell32.dll,-22022" /f
reg add "HKEY_CLASSES_ROOTFoldershellDOScommand" /v "" /t REG_SZ /d "cmd.exe /d /s /k ver" /f
)
ver | findstr /r "6." && (
reg add "HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas" /v "" /t REG_SZ /d "@shell32.dll,-22022" /f
reg add "HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas" /v "Icon" /t REG_SZ /d "%windir%System32imageres.dll,-78" /f
reg add "HKEY_CLASSES_ROOTDirectoryBackgroundshell
unascommand" /v "" /t REG_SZ /d "cmd.exe /d /s /k ver && cd /d %%v" /f
)
pause