![如何通过命令行显示/隐藏桌面上的我的电脑图标?](https://linux22.com/image/1348146/%E5%A6%82%E4%BD%95%E9%80%9A%E8%BF%87%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%98%BE%E7%A4%BA%2F%E9%9A%90%E8%97%8F%E6%A1%8C%E9%9D%A2%E4%B8%8A%E7%9A%84%E6%88%91%E7%9A%84%E7%94%B5%E8%84%91%E5%9B%BE%E6%A0%87%EF%BC%9F.png)
如何在 CMD 中显示或隐藏桌面上的计算机(我的电脑)图标?
答案1
请尝试以下操作:
到隐藏图标:
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 1 /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 1 /f
到展示图标:
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f