diff --git a/code/modules/qolconfig.bat b/code/modules/qolconfig.bat index ea62bff..505a9f9 100644 --- a/code/modules/qolconfig.bat +++ b/code/modules/qolconfig.bat @@ -178,6 +178,14 @@ if not %errorlevel% == 1 ( ) +reg query "HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType > nul 2>&1 && ( + reg query "HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType | find "NotSpecified" > nul 2>&1 +) +if %errorlevel% == 0 ( + echo [19] Default FolderType set = [ Disabled ] +) else ( + echo [19] Default FolderType set = [ Enabled ] +) echo. echo [0] Return to menu @@ -434,6 +442,15 @@ if %N%==18 ( ) ) +if %N%==19 ( + reg query "HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType | find "NotSpecified" > nul 2>&1 + if !ERRORLEVEL! == 1 ( + reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType /t REG_SZ /d "NotSpecified" /f > nul 2>&1 + ) else ( + reg delete "HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType /f > nul 2>&1 + ) +) + endlocal