从命令行向现有EXE文件添加图标 [英] Add icon to existing EXE file from the command line

查看:842
本文介绍了从命令行向现有EXE文件添加图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可以将图标添加到现有可执行文件的命令行工具?它应该能够将图标设置为资源管理器中显示的文件的主图标。

Is there a command line tool that can add an icon to an existing executable file? It should be able to set the icon as the file's "main" icon that is shown in Explorer.

我没有Visual Studio,无法使用自定义重新编译exe包含图标的资源。

I don't have Visual Studio and cannot recompile the exe with custom resources containing the icon.

UPDATE :自发布此问题以来我找到的最佳工具是迄今为止包含的RCEDIT.exe实用程序使用 WinRun4J

UPDATE: The best tool I have found since posting this question is by far the RCEDIT.exe utility that is included with WinRun4J.

推荐答案

资源黑客 是一款免费工具,可让您修改资源可执行文件,它可以从命令行编写脚本。

Resource Hacker is a free tool that allows you to modify resources in executables, and it can be scripted from the command line.

这篇关于从命令行向现有EXE文件添加图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆