怎么更改exe文件的图标_如何修改EXE文件的图标

《怎么更改exe文件的图标_如何修改EXE文件的图标》

怎么更改exe文件的图标

《怎么更改exe文件的图标_如何修改EXE文件的图标》

Let’s face it: some apps have really ugly icons. Sure, you could always create a shortcut to your EXE file and then change the icon for the shortcut, but what fun would that be? Here’s how to change the icon for the EXE file itself.

面对现实:有些应用程序的图标确实很丑。 当然,您总是可以创建指向EXE文件的快捷方式,然后更改该快捷方式的图标,但这会带来什么乐趣呢? 这是更改EXE文件本身图标的方法。

Windows doesn’t include a built-in way to change the icon for EXE files, so you’ll need to download a free copy of Resource Hacker before you get started. Once you’ve got that installed, fire up File Explorer and find the folder that contains your EXE file. If you have a shortcut to the app and aren’t sure where it’s located, you can right-click the shortcut (or Shift+Right Click it if it’s on the taskbar or Start menu) and choose “Open file location.”

Windows没有包含更改EXE文件图标的内置方法,因此您需要在开始之前下载免费的Resource Hacker副本。 安装完该文件后,启动File Explorer并找到包含EXE文件的文件夹。 如果您有该应用程序的快捷方式,但不确定其位置,则可以右键单击该快捷方式(如果在任务栏或“开始”菜单上,则单击Shift + Right单击它),然后选择“打开文件位置”。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

When you’ve found the folder containing the EXE file, make a copy of that file to serve as a backup just in case something happens. Select the file, press Ctrl+C, and then press Ctrl+V to paste a copy right in the same folder.

找到包含EXE文件的文件夹后,请对该文件进行备份以备不时之需。 选择文件,按Ctrl + C,然后按Ctrl + V,将副本直接粘贴到同一文件夹中。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

When you installed Resource Hacker, it added an option to the context menu you get when you right-click files. Right-click the original EXE file (not the copy you made) and choose “Open using Resource Hacker.”

当您安装Resource Hacker时,它会在您右键单击文件时在上下文菜单中添加一个选项。 右键单击原始EXE文件(而不是复制的文件),然后选择“使用Resource Hacker打开”。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

In the Resource Hacker window, select the “Icon” folder in the left pane. Click the “Action” menu and then select “Replace Icon.”

在“ Resource Hacker”窗口中,在左窗格中选择“ Icon”文件夹。 点击“操作”菜单,然后选择“替换图标”。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

In the Replace Icon window, click the “Open file with new icon” button and browse to the location of the icon you want to use. The source can be an EXE, DLL, RES, or ICO file.

在“替换图标”窗口中,单击“使用新图标打开文件”按钮,然后浏览到要使用的图标的位置。 源可以是EXE,DLL,RES或ICO文件。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

After you’ve selected the icon, it’s displayed in the Replace Icon window. Next, select the icon to replace from the list on the right. If you see more than one icon listed, the top item is usually the main icon for the EXE file, but you may have to look through them to make sure. When you’ve selected the icon you want to replace, click the “Replace” button.

选择图标后,它会显示在“替换图标”窗口中。 接下来,从右侧列表中选择要替换的图标。 如果您看到列出了多个图标,则顶部项目通常是EXE文件的主要图标,但是您可能必须仔细检查它们以确保。 选择要替换的图标后,单击“替换”按钮。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

Back in the main Resource Hacker window, you’ll see that the “Icon” folder you have selected now shows several different sizes of the icon you selected as your replacement.

回到Resource Hacker主窗口中,您将看到您现在选择的“ Icon”文件夹显示了几种不同大小的图标作为您的替换图标。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

You’re now ready to save your file—replacing the original EXE file when it asks— and exit Resource Hacker. When you’re done, go check out the new icon for your EXE file in File Explorer.

现在,您可以保存文件(在出现问题时替换原始EXE文件)并退出Resource Hacker。 完成后,在文件资源管理器中检出EXE文件的新图标。

《怎么更改exe文件的图标_如何修改EXE文件的图标》

And if you ever want to revert to the original—or if you have any trouble opening the EXE file—you can restore the original file from the copy you made before you got started.

而且,如果您想还原为原始文件,或者在打开EXE文件时遇到任何问题,都可以从开始之前制作的副本中还原原始文件。

翻译自: https://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/

怎么更改exe文件的图标

    原文作者:cumai3211
    原文地址: https://blog.csdn.net/cumai3211/article/details/109042240
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞