本帖最后由 smss 于 2021-7-1 12:11 编辑
- @Echo off&taskkill /f /im explorer.exe
- for /f "tokens=1,2,* " %%i in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v {20D04FE0-3AEA-1069-A2D8-08002B30309D}')do if "%%k"=="0x0" (set x=1)else set x=0
- ::此电脑 控制面板 0显示 1隐藏
- for %%i in (20D04FE0-3AEA-1069-A2D8-08002B30309D 5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0)do reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v {%%i} /t REG_DWORD /d %x% /f
- ::不自动排列图标 不将图标与网格对齐 反之设为1075839525
- reg add "HKCU\Software\Microsoft\Windows\Shell\Bags\1\Desktop" /v "FFlags" /t REG_DWORD /d 1075839520 /f
- start explorer.exe
复制代码
|