@Echo Off

REM ;StartIsBack设置
Reg.exe add "HKCU\Software\StartIsBack" /v "TaskbarCenterIcons" /t REG_DWORD /d "0" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "TaskbarColor" /t REG_DWORD /d "3618615" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "TaskbarAlpha" /t REG_DWORD /d "203" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "StartMenuColor" /t REG_DWORD /d "3618615" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "StartMenuAlpha" /t REG_DWORD /d "242" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "TaskbarTranslucentEffect" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_LargeAllAppsIcons" /t REG_DWORD /d "2" /f

Reg.exe add "HKCU\Software\StartIsBack" /v "HideUserFrame" /t REG_DWORD /d "0" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowUser" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowMyDocs" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowMyPics" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowMyMusic" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowVideos" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowDownloads" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowMyComputer" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowControlPanel" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowCommandPrompt" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_ShowRun" /t REG_DWORD /d "1" /f
Reg.exe add "HKCU\Software\StartIsBack" /v "Start_MinMFU" /t REG_DWORD /d "13" /f

::生成文件列表
Reg.exe add "HKLM\SOFTWARE\Classes\folder\shell\生成文件列表\command" /f /ve /t REG_SZ /d "cmd.exe /C DIR \"%%1\" /B /S /ON>\"%%1\"\".txt\""

::刷新
Reg.exe add "HKLM\SOFTWARE\Classes\Directory\background\shell\killexplorer" /f /ve /t REG_SZ /d "刷新Explorer(Ctrl+K)"
Reg.exe add "HKLM\SOFTWARE\Classes\Directory\background\shell\killexplorer" /f /v "Icon" /t REG_SZ /d "%%windir%%\System32\SHELL32.dll,238"
Reg.exe add "HKLM\SOFTWARE\Classes\Directory\background\shell\killexplorer" /f /v "Position" /t REG_SZ /d "Top"
Reg.exe add "HKLM\SOFTWARE\Classes\Directory\background\shell\killexplorer\Command" /f /ve /t REG_SZ /d "pecmd.exe KILL EXPLORER.EXE"

REM ; 设置深色Windows模式
Reg.exe add 2>NUL >nul HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0x00000000 /F

REM ; 设置亮色应用模式
Reg.exe add 2>NUL >nul HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0x00000001 /F

REM ;合并任务栏按钮的设置 0：始终隐藏标签；1：占满后隐藏；2：从不合并
Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarGlomLevel" /t REG_DWORD /d "2" /f
REM ;此电脑修改为我的电脑
Reg.exe add "HKCU\SOFTWARE\Classes\Local Settings\MuiCache\1\AAF68885" /v "@X:\Windows\system32\windows.storage.dll,-9216" /t REG_SZ /d "我的电脑" /f
REM ;立刻更新  
tskill explorer

Exit
