My new friend Sue asked me the other day how to customize icons on Windows XP, so I thought I’d write up all the ways to change the icons, both by using the built-in methods and also with additional software.
我的新朋友Sue前几天问我如何在Windows XP上自定义图标,所以我想我会写出所有使用内置方法和其他软件来更改图标的方法。
Changing My Computer, My Documents, and Recycle Bin Icons Manually
手动更改我的计算机,我的文档和回收站图标
Right-click on the desktop and choose Properties, then on the Desktop tab you should choose the Customize Desktop button.
右键单击桌面,然后选择“属性”,然后在“桌面”选项卡上,应选择“自定义桌面”按钮。
![image](https://i-blog.csdnimg.cn/blog_migrate/b97cb890ad811f16109e0dddfd0e8282.png)
In the Desktop Items dialog you can select one of the icons and click the Change Icon button.
在“桌面项目”对话框中,您可以选择一个图标,然后单击“更改图标”按钮。
![image](https://i-blog.csdnimg.cn/blog_migrate/7e53fe3c4b1e09a469fe697094caa5a6.png)
Now just click the Browse button, and pick whichever icon file you would prefer.
现在,只需单击“浏览”按钮,然后选择您想要的任何图标文件。
![image](https://i-blog.csdnimg.cn/blog_migrate/8cf22963d4f79b3d4a0d9a0a93274e30.png)
Change Icons for Specific Folders Manually
手动更改特定文件夹的图标
You can change the icon for many folders by right-clicking the folder and choosing Properties, and then clicking Change Icon on the Customize tab.
通过右键单击文件夹并选择“属性”,然后单击“自定义”选项卡上的“更改图标”,可以更改许多文件夹的图标。
![image](https://i-blog.csdnimg.cn/blog_migrate/e1b26c0080d3b232f54669a519f2e6c5.png)
This method works by writing a hidden desktop.ini file into the folder that will contain text like this:
此方法通过将一个隐藏的desktop.ini文件写入包含如下文本的文件夹中而起作用:
[.ShellClassInfo]IconFile=%SystemRoot%\system32\SHELL32.dllIconIndex=20
[.ShellClassInfo] IconFile =%SystemRoot%\ system32 \ SHELL32.dllIconIndex = 20
You could manually create or edit the file if you choose, instead of using the dialogs. The IconFile line can be adjusted to point to a custom icon file. If you are pointing to a .ico file you should change the IconIndex line to 0 instead.
您可以选择手动创建或编辑文件,而不使用对话框。 IconFile行可以调整为指向自定义图标文件。 如果您指向的是.ico文件,则应将IconIndex行改为0。
Note that this isn’t available for all folders, for instance you can’t use this to change the icon for the Windows folder.
请注意,这不适用于所有文件夹,例如,您不能使用它来更改Windows文件夹的图标。
Using iColorFolder Skins to Customize Specific Folders Easily
使用iColorFolder外观轻松自定义特定文件夹
You can use the previously reviewed iColorFolder application to load colored folders that can be applied to specific folders. You can also set the default folder icon using this tool.
您可以使用以前查看过的iColorFolder应用程序加载可以应用于特定文件夹的彩色文件夹。 您也可以使用此工具设置默认文件夹图标。
![image](https://i-blog.csdnimg.cn/blog_migrate/70ef71126edcce943c0df0ba7908b1b1.png)
Not only that, but this tool can be used to set the default icon for any file type, or easily change the icon for a specific folder to a different color, or a different icon altogether.
不仅如此,该工具还可以用于设置任何文件类型的默认图标,或轻松地将特定文件夹的图标更改为其他颜色或完全更改为其他图标。
![image](https://i-blog.csdnimg.cn/blog_migrate/5ecabf6a2f115dc1f2cc927a839d5f74.png)
Customize Your Folder Icons in Windows XP
Manually Setting Specific Icons for Removable Drives
手动设置可移动驱动器的特定图标
You can create a new file named autorun.inf in the root of any flash or USB drive, and then add the following section to it:
您可以在任何闪存或USB驱动器的根目录中创建一个名为autorun.inf的新文件,然后在其中添加以下部分:
[autorun]icon=autorun.ico
[autorun] icon = autorun.ico
You’ll notice that the icon file is set to autorun.ico, which means for this file to work you would have to rename the icon file and add it to the root of the drive as well:
您会注意到图标文件设置为autorun.ico,这意味着要使该文件正常工作,您必须重命名图标文件并将其添加到驱动器的根目录中:
![image](https://i-blog.csdnimg.cn/blog_migrate/696a6dda06920188c124dc39644a2519.png)
Your best bet is to make both of these files hidden so you don’t have to see them. Right-click on the files, choose Properties, and then check the box for “Hidden” as shown:
最好的选择是将这两个文件都隐藏起来,这样就不必查看它们。 右键单击文件,选择“属性”,然后选中“隐藏”复选框,如下所示:
![image](https://i-blog.csdnimg.cn/blog_migrate/3fef829003cdc3787181411898fa75b4.png)
This does not work for regular hard drives, just for removable ones. Also note that the custom icon will show up on any Windows computer that you plug the removable drive into.
这不适用于常规硬盘驱动器,仅适用于可移动驱动器。 还要注意,自定义图标将显示在您将可移动驱动器插入到的任何Windows计算机上。
Change Icons for Regular File Types
更改常规文件类型的图标
If you want to change the icon for all those .txt files you have laying around, you can do so by going into yet another dialog (seems like they could have organized them into a single place)
如果您要更改所有已放置的.txt文件的图标,可以进入另一个对话框来进行更改(似乎它们可以将它们组织到一个位置)
Open up a copy of Windows Explorer and then choose Folder Options from the Tools menu.
打开Windows资源管理器的副本,然后从“工具”菜单中选择“文件夹选项”。
![image](https://i-blog.csdnimg.cn/blog_migrate/411de4d4288579cd9a33becb0bb253a4.png)
Select the File Types tab, and then choose the file type you want to change and click the Advanced button.
选择“文件类型”选项卡,然后选择要更改的文件类型,然后单击“高级”按钮。
![image](https://i-blog.csdnimg.cn/blog_migrate/7216aceb55d1eff350cf694f8ccdebc9.png)
In the “Edit File Type” dialog you can click the Change Icon button, and then select an icon just like you did above.
在“编辑文件类型”对话框中,您可以单击“更改图标”按钮,然后像上面一样选择一个图标。
![image](https://i-blog.csdnimg.cn/blog_migrate/02a9884231f43c204bc32ee1cd01c1aa.png)
There are a few of the file types that won’t let you change the icon using this method… for instance you should not use this to change the icon for folders or drives or else things will go haywire. (or they did for me)
有些文件类型不允许您使用此方法更改图标……例如,您不应使用此文件更改文件夹或驱动器的图标,否则事情将变得一团糟。 (或者他们为我做了)
Change Icons for Application Shortcuts
更改应用程序快捷方式的图标
You can customize the icon for any application icons, whether on the start menu, quick launch or desktop, by right-clicking on the shortcut and choosing Properties, then use “Change Icon” from the shortcut tab.
您可以通过右键单击快捷方式并选择“属性”,然后在快捷方式选项卡中使用“更改图标”,为任何应用程序图标(在开始菜单,快速启动还是桌面上)自定义图标。
![image](https://i-blog.csdnimg.cn/blog_migrate/1372c5d5d2dde712651f511c9f484287.png)
Use Windows Vista Style Drive Icons
使用Windows Vista样式驱动器图标
You can also customize the drive icons in Windows XP to give them the same Vista bar graph underneath that shows the disk space.
您还可以自定义Windows XP中的驱动器图标,使它们在显示磁盘空间的下方具有相同的Vista条形图。
![image](https://i-blog.csdnimg.cn/blog_migrate/3e90075ef88f2e5b1c863f800655188b.png)
Get Vista Style Drive Icons in Windows XP
Changing Special Icons like Control Panel, Drives, Folders, Printers, Etc
更改特殊图标,如控制面板,驱动器,文件夹,打印机等
If you’d rather change all the different icons in one place, you can use the freeware IconTweaker application that gives you access to change pretty much any icon in Windows XP.
如果您希望在一处更改所有不同的图标,则可以使用免费软件IconTweaker应用程序,该应用程序使您可以更改Windows XP中的几乎任何图标。
Click on the round “icons” icon on the left-hand panel, and then you can customize any of the built-in icons… just click the Change button.
单击左侧面板上的圆形“图标”图标,然后您可以自定义任何内置图标……只需单击“更改”按钮。
![image](https://i-blog.csdnimg.cn/blog_migrate/6e15f37b08b2b8b541dbd50a25cc97d9.png)
And then click the Open button and pick the icon file you want to use.
然后单击“打开”按钮,然后选择要使用的图标文件。
![image](https://i-blog.csdnimg.cn/blog_migrate/ad8bf6ab43ea74a0d51c4144a47f3ee3.png)
There’s a lot more to this application, for instance you can use it to create a theme that you could re-apply later… or you could download icon themes and apply them.
该应用程序还有很多其他功能,例如,您可以使用它来创建主题,稍后再重新应用……或者您可以下载图标主题并应用它们。
Download IconTweaker from icontweaker.com
So, Where Do I Get Free Icons From?
那么,我从哪里获得免费图标?
The key thing you want to consider when finding icons online is that they come in a zip file and are in .ico format. Probably best to avoid any icons packaged in .exe files unless you scan them well first.
在线查找图标时,您要考虑的关键事项是它们以zip文件格式并为.ico格式。 最好避免使用.exe文件中打包的任何图标,除非您先对其进行仔细扫描。
Here’s some links to some good icons, the second two links are thanks to Scott, our forum moderator and notorious theme tweaker.
这里有一些好的图标的链接,后两个链接是由我们的论坛主持人和臭名昭著的主题调节器Scott所致。
You can even search Deviantart.com for XP icons
Once you download the icons, you should save them into a single folder that you won’t move anywhere. A good standard would be to make a folder called something like “Icons” inside of your documents folder, and then put all the icons into there. That way you won’t move them and then screw up your custom icons.
下载图标后,应将它们保存到一个不会移动到任何位置的文件夹中。 一个好的标准是在文档文件夹内创建一个名为“ Icons”的文件夹,然后将所有图标放入其中。 这样,您将不会移动它们,然后弄乱您的自定义图标。
I’ll be interested to hear your thoughts and any additional tricks in the comments.
我很想听听您的想法以及评论中的其他技巧。
翻译自: https://www.howtogeek.com/howto/windows/customizing-your-icons-in-windows-xp/