本文共 3119 字,大约阅读时间需要 10 分钟。
Have you ever wanted to swap out the Windows default icons with something else? The new Windows 7 library icons can be changed with a hack to a text file, but there’s an easier way. We’ll explain both.
您是否曾经想过将Windows默认图标换成其他东西? 可以通过修改将新的Windows 7库图标更改为文本文件,但是有一种更简单的方法。 我们将同时解释两者。
Not sure what we’re talking about? Open up Windows Explorer, and check out the Libraries.
不知道我们在说什么吗? 打开Windows资源管理器,然后检出库。
For today’s lesson, we’ll teach you how to change those icons with something else. (It’ll also work for your own custom Libraries).
在今天的课程中,我们将教您如何用其他方法更改这些图标。 (它还将适用于您自己的自定义库)。
Change Library Icons the Easy Way
轻松更改库图标
To change the icons out the easy way, we’ll use a tiny tool called Library Icon Changer from a user over at deviantART. Thanks to Pratik for pointing us towards this tool!
为了简单地更改图标,我们将使用deviantART上的一个名为Library Icon Changer的小工具。 感谢Pratik向我们指出该工具!
Once you’ve opened up the tool, you’ll be presented with list of icons and libraries… just click on the Library on the right-hand side, and then choose the icon on the left, and click “Select Icon from dll”. You can also use the Select new Icon from file instead, if you don’t want to use a default Windows icon.
打开该工具后,将显示图标和库的列表……只需单击右侧的库,然后选择左侧的图标,然后单击“从dll中选择图标” 。 如果您不想使用默认的Windows图标,也可以使用从文件中选择新图标。
Note that if you want to restore the icon to default, you have to click on the Library first on the right-hand side, and then click the Restore default icon button.
请注意,如果要将图标恢复为默认值,则必须先在右侧单击“库”,然后单击“恢复默认图标”按钮。
Another note is that if you want to change out the DLL, you’ll need to select it, and then hit the Enter key.
另一个注意事项是,如果要更改DLL,则需要选择它,然后按Enter键。
Once you’ve swapped out your icon, it usually shows up right away, or you can Refresh with F5 (though logging off or restarting explorer.exe might be required).
换出图标后,通常会立即显示该图标,或者可以使用F5刷新(尽管可能需要注销或重新启动explorer.exe)。
[]
[ ]
Change Libraries the Manual Way
手动更改库
Don’t feel like messing with a piece of software from some person somewhere? You can make these changes manually with nothing more than Notepad. Just paste the following into the start menu search box, or Explorer location bar:
不想让某个地方的某人的软件弄乱吗? 您可以使用记事本手动进行这些更改。 只需将以下内容粘贴到开始菜单搜索框或资源管理器位置栏中:
%appdata%\microsoft\windows\libraries
%appdata%\ microsoft \ windows \ libraries
Then drag one of the icons from Explorer over to a Notepad window to open up the file.
然后将其中一个图标从资源管理器拖到“记事本”窗口中以打开文件。
Inside the file, you’ll see an iconReference line, or if you don’t see it, you’ll want to add one like so:
在文件内部,您会看到一个iconReference行,或者,如果看不到它,则需要添加如下代码:
<iconReference>C:\Windows\System32\shell32.dll,301</iconReference>
<iconReference> C:\ Windows \ System32 \ shell32.dll,301 </ iconReference>
The data in the middle is the path, either to the icon (.ico) file, or if you are referencing a DLL file, you’ll need to add the comma and number position of the icon in the file.
中间的数据是图标(.ico)文件的路径,或者如果您引用的是DLL文件,则需要在文件中添加图标的逗号和数字位置。
And now you’ve learned how to swap out the icons. Awesome, eh? Alright, well it’s not that awesome. But still fun geeky information to have.
现在,您已经了解了如何交换图标。 太好了吧? 好吧,那不是那么棒。 但是仍然有有趣的令人讨厌的信息。
翻译自:
转载地址:http://zhfwd.baihongyu.com/