Windows7 的部分資料夾圖示由資料夾內的 desktop.ini 檔案決定,當該檔案被更改時,圖示亦不能正常顯示,以下為部分資料夾內 desktop.ini 內容:
工具/原料
電腦
方法/步驟
desktop.ini檔案正常為隱藏屬性,要顯示則按下列方法設定:
在控制面板-資料夾選項 中按圖示設定:
取消“隱藏受保護的作業系統檔案”
選擇“顯示隱藏的檔案、資料夾和驅動器”
確定後即可顯示。
如果desktop.ini已經被刪除,則取消“隱藏已知檔案型別的副檔名”,在資料夾內新建名為 desktop 的文字文件,內容按需要修改並儲存後,將副檔名由 .txt 改為 .ini
各資料夾對應的 desktop.ini 內容如下:
收藏夾:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21796IconResource=%SystemRoot%\system32\imageres.dll,-115IconFile=%SystemRoot%\system32\shell32.dllIconIndex=-173
我的文件:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21770IconResource=%SystemRoot%\system32\imageres.dll,-112IconFile=%SystemRoot%\system32\shell32.dllIconIndex=-235
下載:[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21798IconResource=%SystemRoot%\system32\imageres.dll,-184
注意:桌面有兩個 desktop.ini,分別在不同位置
桌面1:位置:C:\Users\Public\Desktop
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21799
桌面2:位置:C:\Users\自己的使用者名稱\Desktop
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21769IconResource=%SystemRoot%\system32\imageres.dll,-183
連結:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21810IconResource=%SystemRoot%\system32\imageres.dll,-185DefaultDropEffect=4[LocalizedFileNames][email protected],[email protected],[email protected],-21798
聯絡人:
[.ShellClassInfo][email protected]%CommonProgramFiles%\system\wab32res.dll,[email protected]%CommonProgramFiles%\system\wab32res.dll,-10200IconResource=%SystemRoot%\system32\imageres.dll,-181
搜尋:
[.ShellClassInfo]LocalizedResourceName[email protected]%SystemRoot%\system32\shell32.dll,-9031IconResource=%SystemRoot%\system32\imageres.dll,-18[LocalizedFileNames]Indexed [email protected],[email protected],-32822
我的視訊:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,[email protected]%SystemRoot%\system32\shell32.dll,-12690IconResource=%SystemRoot%\system32\imageres.dll,-189IconFile=%SystemRoot%\system32\shell32.dllIconIndex=-238
我的圖片:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,[email protected]%SystemRoot%\system32\shell32.dll,-12688IconResource=%SystemRoot%\system32\imageres.dll,-113IconFile=%SystemRoot%\system32\shell32.dllIconIndex=-236
我的音樂:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,[email protected]%SystemRoot%\system32\shell32.dll,-12689IconResource=%SystemRoot%\system32\imageres.dll,-108IconFile=%SystemRoot%\system32\shell32.dllIconIndex=-237
儲存的遊戲:
[.ShellClassInfo][email protected]%SystemRoot%\system32\shell32.dll,-21814IconResource=%SystemRoot%\system32\imageres.dll,-186
注意事項
修改後記得儲存,登出或重啟電腦後生效。如果收藏夾經修改後圖示仍不正常顯示,開啟收藏夾檔案,將裡面連結剪下幾個貼上到其他資料夾,此時收藏夾即可正常顯示,再將剛才剪下的連結貼上回來。