图标缓存 vista_为什么Windows Vista的“音乐文件夹”图标变为黄色?
图标缓存 vista
I’ve been getting emails left and right from readers complaining that their Music folder icon has turned from the default shiny icon into the generic yellow folder icon. After doing some research I finally have a workaround for this issue.
我一直收到读者的来回电子邮件,抱怨他们的音乐文件夹图标已从默认的闪亮图标变为通用的黄色文件夹图标。 经过研究后,我终于有了解决此问题的方法。
In Windows, all folders can be customized with whatever icon you want. All you need to do is put a hidden file named desktop.ini into the root of that folder, which tells Windows extra information for the folder including what icon to use.
在Windows中,可以使用所需的任何图标自定义所有文件夹。 您需要做的就是将一个名为desktop.ini的隐藏文件放入该文件夹的根目录,该文件将告诉Windows该文件夹的其他信息,包括要使用的图标。
The problem that people are experiencing is due to the contents of that file being modified somehow and pointing to the wrong icon, as you can see here:
人们遇到的问题是由于该文件的内容以某种方式被修改并指向错误的图标,如您在此处看到的:
You can normally fix this problem by right-clicking on the folder and choosing properties, and then on the Customize tab you’ll see this:
通常,可以通过右键单击文件夹并选择属性,然后在“自定义”选项卡上看到以下内容来解决此问题:
If that section does not exist, however, we’ll need to open up that desktop.ini file by pasting the following command into the start menu search or run box:
但是,如果该部分不存在,则需要通过将以下命令粘贴到“开始”菜单搜索或运行框中来打开desktop.ini文件:
notepad %USERPROFILE%\music\desktop.ini
记事本%USERPROFILE%\ music \ desktop.ini
You’ll see a file that should look exactly like this, but probably does not.
您会看到一个文件,看起来应该完全像这样,但可能并非如此。
You can usually just replace the contents of that file with the following text:
通常,您可以仅使用以下文本替换该文件的内容:
[.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] LocalizedResourceName = @%SystemRoot%\ system32 \ shell32.dll,-21790InfoTip = @%SystemRoot%\ system32 \ shell32.dll,-12689IconResource =%SystemRoot%\ system32 \ imageres.dll,-108IconFile =%SystemRoot% \ system32 \ shell32.dllIconIndex = -237
Save the file and log off from Windows, and then login again. Your Music folder icon should now look like this:
保存该文件并从Windows注销,然后再次登录。 您的音乐文件夹图标现在应如下所示:
Hopefully this solves the problem for you!
希望这可以为您解决问题!
Update: If you are looking for a folder besides the Music folder, I’ve created a list of the default settings for every user profile folder.
更新:如果您正在寻找“音乐”文件夹之外的文件夹,那么我已经为每个用户个人资料文件夹创建了默认设置的列表。
翻译自: https://www.howtogeek.com/howto/windows-vista/why-did-windows-vistas-music-folder-icon-turn-yellow/
图标缓存 vista