背景
在使用中文的 Windows 10 系统时,有时可能出现「常用文件夹」下的「视频」、「桌面」等文件夹显示为「Videos」、「Desktop」的现象。
解决方案
这些文件夹是通过文件夹下的 desktop.ini
文件来控制其显示名称、默认图标、默认视图的,所以通过从其他文件夹中复制 desktop.ini
文件并修改其内容来修复此问题。
文件内容
-
联系人 Contacts
[.ShellClassInfo] LocalizedResourceName=@%CommonProgramFiles%\system\wab32res.dll,-10100 InfoTip=@%CommonProgramFiles%\system\wab32res.dll,-10200 IconResource=%SystemRoot%\system32\imageres.dll,-181
-
桌面 Desktop
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769 IconResource=%SystemRoot%\system32\imageres.dll,-183
-
文档 Documents
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770 IconResource=%SystemRoot%\system32\imageres.dll,-112 IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-235
-
下载 Downloads
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798 IconResource=%SystemRoot%\system32\imageres.dll,-184
-
收藏夹 Favorites
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21796 IconResource=%SystemRoot%\system32\imageres.dll,-115 IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-173
-
链接 Links
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21810 IconResource=%SystemRoot%\system32\imageres.dll,-185 DefaultDropEffect=4 [LocalizedFileNames] Public.lnk=@shell32.dll,-21816 Searches.lnk=@shell32.dll,-9031 Recently Changed.lnk=@shell32.dll,-32813 Music.lnk=@shell32.dll,-21790 Pictures.lnk=@shell32.dll,-21779 Documents.lnk=@shell32.dll,-21770
-
音乐 Music
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790 InfoTip=@%SystemRoot%\system32\shell32.dll,-12689 IconResource=%SystemRoot%\system32\imageres.dll,-108 IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-237 [LocalizedFileNames] Sample Music.lnk=@%SystemRoot%\system32\shell32.dll,-21806
-
图片 Pictures
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779 InfoTip=@%SystemRoot%\system32\shell32.dll,-12688 IconResource=%SystemRoot%\system32\imageres.dll,-113 IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-236 [LocalizedFileNames] Sample Pictures.lnk=@%SystemRoot%\system32\shell32.dll,-21805
-
回收站 Recycle Bin
[.ShellClassInfo] CLSID={645FF040-5081-101B-9F08-00AA002F954E} LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-8964
-
保存的游戏 Save Games
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21814 IconResource=%SystemRoot%\system32\imageres.dll,-186
-
搜索 Searches
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-9031 IconResource=%SystemRoot%\system32\imageres.dll,-18 [LocalizedFileNames] Indexed Locations.search-ms=@shell32.dll,-32811 Everywhere.search-ms=@shell32.dll,-32814 Shared By Me.search-ms=@shell32.dll,-32802 Recent Music.search-ms=@shell32.dll,-32803 Recent Documents.search-ms=@shell32.dll,-32804 Recent Pictures and Videos.search-ms=@shell32.dll,-32806 Recent E-mail.search-ms=@shell32.dll,-32807 Recently Changed.search-ms=@shell32.dll,-32813
-
视频 Videos
[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791 InfoTip=@%SystemRoot%\system32\shell32.dll,-12690 IconResource=%SystemRoot%\system32\imageres.dll,-189 IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-238